[Guide] Create and maintain a server on Windows

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

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

by hajo » Post

ANAND wrote:The server can't be accessed from outside
You need to know the ip-address of your server,
otherwise you couldn't manage it, install mods, etc.

May the firewall blocks the ports needed for minetest ?
MinetestBot cannot tell apart 'running but blocked' from 'down'.
server console displays this:

Code: Select all

Listening on 0.0.0.0:30000
That is your ip-address 'seen from the inside'.

User avatar
ANAND
Member
Posts: 335
Joined: Sun Jan 28, 2018 12:54
GitHub: magnetar47
IRC: MAGNETAR ANAND
In-game: ANAND and all names with Tomato
Location: India
Contact:

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

by ANAND » Post

hajo wrote:May the firewall blocks the ports needed for minetest ?
That might be a possible reason - I'll look into it.
My Mods

cdb_NXKPOcRlgUGdMyf8uLoUQvnMGIfuaHmp

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

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

by bosapara » Post

Have a question about server console

Thought about administering the server from console at Windows (without irc) or web console

Are there any programs for this action?

_______________________________

Thanks for all advices in this topic
Created server at dynamic ip without any problems

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

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

by hajo » Post

bosapara wrote:administering the server from console at Windows ..
Are there any programs for this action?
Putty is a wellknown ssh-client for windows.

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

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

by bosapara » Post

hajo wrote:
bosapara wrote:administering the server from console at Windows ..
Are there any programs for this action?
Putty is a wellknown ssh-client for windows.
Downloaded PuTTY and tried to connect with this ip's:

192.168.1.4
127.0.0.1
0.0.0.0
also my real ip

all checked with port 30000 (opened)

But doesnt work. In Google I cant find a solution to the problem, searched

What i do wrong?

Image

Enrikoo
Member
Posts: 452
Joined: Thu Nov 16, 2017 18:18
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
Location: Germany
Contact:

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

by Enrikoo » Post

The problem is that PuTTY is very laggy to type the server password.
Anything with address and port works fine.

This is my server:

Address: enrico.minecity.online
Port: 30000
Password is failed. SO can't connect with this console.

Jozet: 192.168.1.4 is the ip to connect to your router, you need a random ip.

I already talked with Minecity host to do that but it doesn't works. TeamViewer helps alot but we only connect with computer to computer, not from your computer to the console.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

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

by ManElevation » Post

bosapara wrote:
hajo wrote:
bosapara wrote:administering the server from console at Windows ..
Are there any programs for this action?
Putty is a wellknown ssh-client for windows.
Downloaded PuTTY and tried to connect with this ip's:

192.168.1.4
127.0.0.1
0.0.0.0
also my real ip

all checked with port 30000 (opened)

But doesnt work. In Google I cant find a solution to the problem, searched

What i do wrong?

Image
use the ip that you get on www.whatsmyip.org/ and put it on the config file, make sure you portfowarded the chosen port and it should work
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ANAND
Member
Posts: 335
Joined: Sun Jan 28, 2018 12:54
GitHub: magnetar47
IRC: MAGNETAR ANAND
In-game: ANAND and all names with Tomato
Location: India
Contact:

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

by ANAND » Post

ManElevation wrote:use the ip that you get on http://www.whatsmyip.org/ and put it on the config file, make sure you portfowarded the chosen port and it should work
What if this IP keeps changing? Like a dynamic IP or a VPN?
My Mods

cdb_NXKPOcRlgUGdMyf8uLoUQvnMGIfuaHmp

User avatar
DrFrankenstone
Member
Posts: 231
Joined: Tue May 24, 2016 05:36
GitHub: treer
Location: Australia
Contact:

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

by DrFrankenstone » Post

ANAND wrote:
ManElevation wrote:use the ip that you get on http://www.whatsmyip.org/ and put it on the config file, make sure you portfowarded the chosen port and it should work
What if this IP keeps changing? Like a dynamic IP or a VPN?
On this topic... I just added minetest.land to the FreeDNS registry, so minetest servers can have a nice dynamic domain.

User avatar
big gay uwu
New member
Posts: 1
Joined: Wed Aug 08, 2018 15:14
GitHub: catphone34
IRC: big gay uwu
In-game: catphone34
Contact:

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

by big gay uwu » Post

[Deleted]

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

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

by Stix » Post

@ManElevation: You should be able to find the ip of a computer without a command/website using a command line, for example on ubuntu the command is "ifconfig -a".
Hey, what can i say? I'm the bad guy.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

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

by ManElevation » Post

Stix wrote:@ManElevation: You should be able to find the ip of a computer without a command/website using a command line, for example on ubuntu the command is "ifconfig -a".
we are talking about windows
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ScorchedFalcon
Member
Posts: 31
Joined: Thu May 10, 2018 20:20
GitHub: ScorchedFalcon
IRC: ScorchedFalcon
In-game: ScorchedFalcon

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

by ScorchedFalcon » Post

This is a great guide, thanks Craig!

User avatar
Zalera
Member
Posts: 42
Joined: Mon Jul 22, 2019 01:46
GitHub: Zalera
IRC: Zalera
In-game: Zalera

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

by Zalera » Post

I've enabled port forwarding on my router config.
I've enabled DMZ.
I've set public my server on windows firewall.
Yes, I've added the ip address (using a host).
server_announce = true
servers.minetest.net
Windows Firewall open.
... Everything should run.
Then why my server won't be run on Minetest?

Kor
Member
Posts: 10
Joined: Fri Nov 30, 2018 08:53
In-game: Kor

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

by Kor » Post

@Zalera

Your minetest server is running on your Windows system, right? You can watch it in the console?

You can start a minetest client on the PC you're running the server on and connect to your server (as in localhost)?

Can you reach your own server from your own network (as in the IP address of your machine)?

Can you reach your own server from outside? (as in your WAN IP address)?

Can you share your WAN IP, so that we can try to connect from the outside?

User avatar
Zalera
Member
Posts: 42
Joined: Mon Jul 22, 2019 01:46
GitHub: Zalera
IRC: Zalera
In-game: Zalera

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

by Zalera » Post

Kor wrote:@Zalera

Your minetest server is running on your Windows system, right? You can watch it in the console?

You can start a minetest client on the PC you're running the server on and connect to your server (as in localhost)?

Can you reach your own server from your own network (as in the IP address of your machine)?

Can you reach your own server from outside? (as in your WAN IP address)?

Can you share your WAN IP, so that we can try to connect from the outside?
Yes, I can run the server in a local network. The minetest *.config file it's ok.

The problem it's that I've followed all steps established in this tutorial. But it doesn't work. I made a port forwarding in the gateway and in firewall options in control panel of my pc. I also disabled all security options on router... And it doesn't recognizes the host. I'm not connected by a LAN - it's on wifi. I don't know if it would be the reason...

User avatar
Zalera
Member
Posts: 42
Joined: Mon Jul 22, 2019 01:46
GitHub: Zalera
IRC: Zalera
In-game: Zalera

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

by Zalera » Post

Image


This is my stupid router. There are the options. I don't know what am I doing wrong.

1. firewall and minetest configuration are exactly as this tutorial says. Wth is conflicting on my router?

Kor
Member
Posts: 10
Joined: Fri Nov 30, 2018 08:53
In-game: Kor

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

by Kor » Post

Wifi shouldn't do much other than a LAN does, except when the whole connection is spoiled. But since you can connect to it from another machine from your network, that seems not to be the case.

1. Does your router have "Utilities" on it? Like a ping utility? If so, can you ping the machine the mt server runs on? What does it say?

2. If you have xampp on the machine the MT server runs on (or any other service that you can try to connect to): Run it and try to connect to it the same way you would connect to your MT server. If this works, the problem is in your MT config, not in your network. If it doesn't, the problem is elsewhere.

3. Is your DMZ mapped to an IP? And is that IP the same still? DHCP at least on my router tried to assign the same IP to the same machines, I don't know if your router does so as well. What happens, when you try to ping your WAN IP from the outside? Make sure, the machien in question still is the host the DMZ points to.

4. What exactly happens, when you try to connect from the outside? Does it say "timeout" or "no route to host" or something else?

5. I'm not sure how it is on your router, but on mine I can either have a portforwarding OR i can have a DMZ. Try disabling DMZ and experiment with port forwarding OR use the DMZ and don't count on portforwarding

6. Could it be that your ISP doesn't forward incoming connections to you? Or you are behind a proxy of some sorts?

7. Not sure if it's a good idea, but you may want to disable IP v6 for the sake of the experiment

8. What does the debug.txt or the console of your minetest server say? And what does netstat say? Which port and which IP address does the server listen to? Is it really bound both to IP v6 and IP v4?

9. Can you share your screen with us, like on twitch or something? If so, make sure nothing personal or funny is for us to view. Same goes for your WAN IP. You blacked it out, so I assume you don't want to share it with all the world.

User avatar
Zalera
Member
Posts: 42
Joined: Mon Jul 22, 2019 01:46
GitHub: Zalera
IRC: Zalera
In-game: Zalera

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

by Zalera » Post

Kor wrote:Wifi shouldn't do much other than a LAN does, except when the whole connection is spoiled. But since you can connect to it from another machine from your network, that seems not to be the case.

1. Does your router have "Utilities" on it? Like a ping utility? If so, can you ping the machine the mt server runs on? What does it say?

2. If you have xampp on the machine the MT server runs on (or any other service that you can try to connect to): Run it and try to connect to it the same way you would connect to your MT server. If this works, the problem is in your MT config, not in your network. If it doesn't, the problem is elsewhere.

3. Is your DMZ mapped to an IP? And is that IP the same still? DHCP at least on my router tried to assign the same IP to the same machines, I don't know if your router does so as well. What happens, when you try to ping your WAN IP from the outside? Make sure, the machien in question still is the host the DMZ points to.

4. What exactly happens, when you try to connect from the outside? Does it say "timeout" or "no route to host" or something else?

5. I'm not sure how it is on your router, but on mine I can either have a portforwarding OR i can have a DMZ. Try disabling DMZ and experiment with port forwarding OR use the DMZ and don't count on portforwarding

6. Could it be that your ISP doesn't forward incoming connections to you? Or you are behind a proxy of some sorts?

7. Not sure if it's a good idea, but you may want to disable IP v6 for the sake of the experiment

8. What does the debug.txt or the console of your minetest server say? And what does netstat say? Which port and which IP address does the server listen to? Is it really bound both to IP v6 and IP v4?

9. Can you share your screen with us, like on twitch or something? If so, make sure nothing personal or funny is for us to view. Same goes for your WAN IP. You blacked it out, so I assume you don't want to share it with all the world.
Do I need to put my ipv4 on bind_address?

Enrikoo
Member
Posts: 452
Joined: Thu Nov 16, 2017 18:18
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
Location: Germany
Contact:

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

by Enrikoo » Post

According to the description, did he hosted a server without paying for it? I'm forcing to make a MT 0.4 server

User avatar
Zalera
Member
Posts: 42
Joined: Mon Jul 22, 2019 01:46
GitHub: Zalera
IRC: Zalera
In-game: Zalera

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

by Zalera » Post

Enrikoo wrote:According to the description, did he hosted a server without paying for it? I'm forcing to make a MT 0.4 server
I'm using my irregular ip...
So to establish a server in minetest 5.1.0 requires to pay? Really?

User avatar
Zalera
Member
Posts: 42
Joined: Mon Jul 22, 2019 01:46
GitHub: Zalera
IRC: Zalera
In-game: Zalera

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

by Zalera » Post

Kor wrote: 2. If you have xampp on the machine the MT server runs on (or any other service that you can try to connect to): Run it and try to connect to it the same way you would connect to your MT server. If this works, the problem is in your MT config, not in your network. If it doesn't, the problem is elsewhere.
Ok, I'll try to use xampp to see if the router is working...

Enrikoo
Member
Posts: 452
Joined: Thu Nov 16, 2017 18:18
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
Location: Germany
Contact:

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

by Enrikoo » Post

I think I have a problem on announcing my server on the serverlist, i set

Code: Select all

server_announce = true
enable_server = true
I also port forwarded it with 30000-30000 protocol UDP but why does it still not announce?
But, I set service to user defined, is it right, or should I change anything?

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

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

by bosapara » Post

Enrikoo wrote:I think I have a problem on announcing my server on the serverlist, i set

Check your firewall, i had a similar problem.

Enrikoo
Member
Posts: 452
Joined: Thu Nov 16, 2017 18:18
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
Location: Germany
Contact:

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

by Enrikoo » Post

bosapara wrote:
Enrikoo wrote:I think I have a problem on announcing my server on the serverlist, i set

Check your firewall, i had a similar problem.
Shall I turn firewall off for server?
Tell me what you did so I can do this too.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests