[Guide] Create and maintain a server on Windows

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re: Guide: How to create and maintain a server - Windows

by lightonflux » Post

Imho such an howto would be better placed in the wiki. But there should be a separation between the OS specific stuff and the minetest side of the server administration.

User avatar
TheCrafter
Member
Posts: 17
Joined: Thu Jul 10, 2014 15:26
In-game: TheCrafter

Re: Guide: How to create and maintain a server - Windows

by TheCrafter » Post

Krock wrote:
TheCrafter wrote:Hi I have this very little problemo. The thing is that my connection always time's out. Why?
Are there any special mods enabled?
Could you post the last 20 lines of debug.txt of your server and client?

Code: Select all

01:39:00: ACTION[ServerThread]: Announcing to servers.minetest.net
01:39:00: ACTION[main]:         .__               __                   __   
01:39:00: ACTION[main]:   _____ |__| ____   _____/  |_  ____   _______/  |_ 
01:39:00: ACTION[main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
01:39:00: ACTION[main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  |  
01:39:00: ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__|  
01:39:00: ACTION[main]:       \/        \/     \/          \/     \/        
01:39:00: ACTION[main]: World at [D:\minetest-0.4.10\bin\..\worlds\Server]
01:39:00: ACTION[main]: Server for gameid="minetest" listening on 0.0.0.0:30000.
01:44:05: ERROR[CurlFetchThread]: servers.minetest.net/announce not found (Timeout was reached) (response code 100)
01:49:05: ERROR[CurlFetchThread]: servers.minetest.net/announce not found (Timeout was reached) (response code 100)
Coming SOON.

User avatar
lag01
Member
Posts: 321
Joined: Sun Mar 16, 2014 03:41
GitHub: AndrejIT
IRC: lag01
In-game: lag
Contact:

Re: [Guide] Create and maintain a server on Windows

by lag01 » Post

hello, my server sometimes is absent from server list and i found in my logs this:

Code: Select all

21:19:12: ERROR[CurlFetchThread]: servers.minetest.net/announce not found (Timeout was reached) (response code 0)
21:39:13: ERROR[CurlFetchThread]: servers.minetest.net/announce not found (Timeout was reached) (response code 0)
After some time it shows in server list, but it shows "0.4.10, minetest, ?" and no mod list.
This problem started about two weeks ago, on version 4.9. Yesterday i installed 4.10, but this evening this problem came back again.

What can be this problem and what can i do?

upd: i found this: viewtopic.php?id=5688, may-be it will help.

magnificentx
Member
Posts: 18
Joined: Sat Sep 15, 2012 13:02
Location: Brasil
Contact:

Re: [Guide] Create and maintain a server on Windows

by magnificentx » Post

My server says:
Server for gameid="minetest" listening on 0.0.0.0:30000

is this correct?
i've already fowarded the port on router.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Guide] Create and maintain a server on Windows

by Minetestforfun » Post

Thanks for this guide !
But... a game server on windows... :'(

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Guide] Create and maintain a server on Windows

by Krock » Post

magnificentx wrote:My server says:
Server for gameid="minetest" listening on 0.0.0.0:30000

is this correct?
i've already fowarded the port on router.
My server outputs the same. It should be correct then.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: [Guide] Create and maintain a server on Windows

by davidthecreator » Post

:o Sounds dificult and does it Works with mt 0.4.10

User avatar
Esteban
Member
Posts: 873
Joined: Sun Sep 08, 2013 13:26
In-game: Esteban
Contact:

Re: [Guide] Create and maintain a server on Windows

by Esteban » Post

davidthecreator wrote::o Sounds dificult and does it Works with mt 0.4.10
Yes. I recommend that you should look up for tutorials about setting routers and be fully informed before doing anything. Some routers work different that the one presented in the tutorial, so you'll have to look for its manual or search the webs. I wish you good luck :)

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: [Guide] Create and maintain a server on Windows

by davidthecreator » Post

What does 24/7 means

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Guide] Create and maintain a server on Windows

by Krock » Post

davidthecreator wrote:What does 24/7 means
That's uptime.
A day has 24 hours, a week 7 days. This means, it's the whole week online.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
coconut
Member
Posts: 18
Joined: Mon Oct 06, 2014 08:06
In-game: Chili
Location: Somewhere in Minetest

Re: [Guide] Create and maintain a server on Windows

by coconut » Post

Nice guide, ty dev :D

User avatar
THEGGABOOK77
Member
Posts: 140
Joined: Wed Jul 10, 2013 22:17
Location: This Post →

Re: [Guide] Create and maintain a server on Windows

by THEGGABOOK77 » Post

When I open the shortcut
The file opens and closes
quickly

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [Guide] Create and maintain a server on Windows

by Calinou » Post

THEGGABOOK77 wrote:When I open the shortcut
The file opens and closes
quickly
You probably have multiple worlds, thus you need to specify a world using --worldname.

If a command window opens and closes quickly, it means it either errored out, or just outputted its help message (it didn't do anything).

gumangel
Member
Posts: 23
Joined: Thu Jan 01, 2015 21:44
In-game: LaA

Re: [Guide] Create and maintain a server on Windows

by gumangel » Post

i need some help to complete the fields,i completed them as you say,but there is one field that i dont know how to fill : Private ip adress:
should i leave it blank?

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

Re: [Guide] Create and maintain a server on Windows

by ABJ » Post

Craig, I followed the steps but I can't seem to get my server to show on the public list OR be able to connect with external IP.

roalex543
Member
Posts: 21
Joined: Mon Dec 15, 2014 00:04
In-game: android692

Re: [Guide] Create and maintain a server on Windows

by roalex543 » Post

please help me with this Server for gameid="minetest" listening on 0.0.0.0:30000 this is good? I thank you if you help me :)

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Guide] Create and maintain a server on Windows

by Krock » Post

roalex543 wrote:please help me with this Server for gameid="minetest" listening on 0.0.0.0:30000 this is good? I thank you if you help me :)
That text is completely normal, your server works.
ABJ wrote:Craig, I followed the steps but I can't seem to get my server to show on the public list OR be able to connect with external IP.
Check your router settings. Minetest requires a forwarded UDP port.
I'm not able to connect to my local server using the external IP; ask a friend to try instead.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

roalex543
Member
Posts: 21
Joined: Mon Dec 15, 2014 00:04
In-game: android692

Re: [Guide] Create and maintain a server on Windows

by roalex543 » Post

Krock wrote:
roalex543 wrote:please help me with this Server for gameid="minetest" listening on 0.0.0.0:30000 this is good? I thank you if you help me :)
That text is completely normal, your server works.
ABJ wrote:Craig, I followed the steps but I can't seem to get my server to show on the public list OR be able to connect with external IP.
Check your router settings. Minetest requires a forwarded UDP port.
I'm not able to connect to my local server using the external IP; ask a friend to try instead.
another problem tells me Using world specified by --worldname on the command line I do? is that I'm beginner

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Guide] Create and maintain a server on Windows

by Krock » Post

roalex543 wrote:another problem tells me Using world specified by --worldname on the command line I do? is that I'm beginner
That's completely normal.
Here an example from my server:
Image
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

roalex543
Member
Posts: 21
Joined: Mon Dec 15, 2014 00:04
In-game: android692

Re: [Guide] Create and maintain a server on Windows

by roalex543 » Post

Krock wrote:
roalex543 wrote:another problem tells me Using world specified by --worldname on the command line I do? is that I'm beginner
That's completely normal.
Here an example from my server:
Image
hello! I get this error when I try to enter with 127.0.0.1.

Error:Couldn´t resolve address :this is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Guide] Create and maintain a server on Windows

by Krock » Post

roalex543 wrote:Error:Couldn´t resolve address :this is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server
That's strange. Remove the setting "server_address" from your minetest.conf file, restart the minetest server and retry.
If the error still exists after that: Take a screenshot and post it here.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

Re: [Guide] Create and maintain a server on Windows

by ABJ » Post

Krock wrote:
roalex543 wrote:please help me with this Server for gameid="minetest" listening on 0.0.0.0:30000 this is good? I thank you if you help me :)
That text is completely normal, your server works.
ABJ wrote:Craig, I followed the steps but I can't seem to get my server to show on the public list OR be able to connect with external IP.
Check your router settings. Minetest requires a forwarded UDP port.
I'm not able to connect to my local server using the external IP; ask a friend to try instead.
Krock I did that and still it does not work (the window shows up and reads the things) but not only does it not display on public list (YES I set that announce thingy to true!!) but also I can't connect with my server using external IP (Or is that what you were addressing in the last sentence of your post?)

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Guide] Create and maintain a server on Windows

by Krock » Post

ABJ wrote:Krock I did that and still it does not work (the window shows up and reads the things) but not only does it not display on public list (YES I set that announce thingy to true!!) but also I can't connect with my server using external IP (Or is that what you were addressing in the last sentence of your post?)
If the server is in the same (router-)network, you should use the internal IP.

If you don't know that IP, do step 3 on your server:
CraigyDavi wrote:Firstly, You need to find out your default gateway and access your router settings.
  • Open up command prompt and type ipconfig /all
  • Find where it says Default Gateway
    Image
Look at the "IPv4 Address" output, it tells you the network internal address (in this case 192.168.1.100).
Connect with your client to that address. If that's not possible, then is your minetest version on the server broken; update it.
But when you're able to connect, then it's a problem with the router settings.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

Re: [Guide] Create and maintain a server on Windows

by ABJ » Post

I have a Zhone router. Anyone know the name for the firewall tab for that?

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

Re: [Guide] Create and maintain a server on Windows

by ABJ » Post

Krock, does ALL the public servers show on the list? Or is there a limit (If server is below certain level it doesn't show)?
eg:-Craig's Server hasn't been showing on the list for more than a week but the last post on their thread says it's now up after being down for a few days. Could this "limit" be why my server is not showing?

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests