[Guide] Create and maintain a server on Windows

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

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

by hajo » Sat Feb 03, 2018 15:22

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: 321
Joined: Sun Jan 28, 2018 12:54
Location: India
GitHub: ClobberXD
IRC: ANAND ClobberXD
In-game: ANAND ClobberXD [A-Za-z0-9-_]Tomato

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

by ANAND » Sat Feb 03, 2018 16:35

hajo wrote:May the firewall blocks the ports needed for minetest ?


That might be a possible reason - I'll look into it.
 

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

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

by bosapara » Mon Feb 05, 2018 03:05

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: 596
Joined: Thu Oct 13, 2016 10:45
Location: DE

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

by hajo » Mon Feb 05, 2018 23:11

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: 528
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara

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

by bosapara » Tue Feb 06, 2018 04:39

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
 

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

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

by Enrikoo » Tue Feb 06, 2018 08:08

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
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

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

by ManElevation » Thu Mar 01, 2018 17:51

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: 321
Joined: Sun Jan 28, 2018 12:54
Location: India
GitHub: ClobberXD
IRC: ANAND ClobberXD
In-game: ANAND ClobberXD [A-Za-z0-9-_]Tomato

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

by ANAND » Fri Mar 02, 2018 08:07

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?
 

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

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

by DrFrankenstone » Sat Apr 14, 2018 06:46

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
 

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

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

by Stix » Fri Sep 07, 2018 22:10

@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.
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

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

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

by ManElevation » Sat Sep 08, 2018 19:00

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
 

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 » Thu Sep 19, 2019 00:06

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
New member
 
Posts: 9
Joined: Fri Nov 30, 2018 08:53
In-game: Kor

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

by Kor » Fri Sep 20, 2019 07:14

@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 » Fri Sep 20, 2019 16:15

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 » Fri Sep 20, 2019 19:41

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
New member
 
Posts: 9
Joined: Fri Nov 30, 2018 08:53
In-game: Kor

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

by Kor » Sat Sep 21, 2019 01:52

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 » Sat Sep 21, 2019 11:41

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?
 

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

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

by Enrikoo » Sat Sep 21, 2019 12:32

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 » Sat Sep 21, 2019 16:56

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 » Sat Sep 21, 2019 17:37

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...
 

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

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

by Enrikoo » Sun Sep 22, 2019 16:05

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: 528
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara

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

by bosapara » Sun Sep 22, 2019 16:23

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.
 

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

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

by Enrikoo » Sun Sep 22, 2019 16:35

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.
 

PreviousNext

Return to Servers



Who is online

Users browsing this forum: No registered users and 7 guests