Page 7 of 8

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

PostPosted: Sat Feb 03, 2018 15:22
by hajo
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'.

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

PostPosted: Sat Feb 03, 2018 16:35
by ANAND
hajo wrote:May the firewall blocks the ports needed for minetest ?


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

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

PostPosted: Mon Feb 05, 2018 03:05
by bosapara
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

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

PostPosted: Mon Feb 05, 2018 23:11
by hajo
bosapara wrote:administering the server from console at Windows ..
Are there any programs for this action?

Putty is a wellknown ssh-client for windows.

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

PostPosted: Tue Feb 06, 2018 04:39
by bosapara
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

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

PostPosted: Tue Feb 06, 2018 08:08
by Enrikoo
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.

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

PostPosted: Thu Mar 01, 2018 17:51
by ManElevation
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

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

PostPosted: Fri Mar 02, 2018 08:07
by ANAND
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?

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

PostPosted: Sat Apr 14, 2018 06:46
by DrFrankenstone
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.

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

PostPosted: Wed Aug 08, 2018 15:18
by big gay uwu
[Deleted]

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

PostPosted: Fri Sep 07, 2018 22:10
by Stix
@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".

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

PostPosted: Sat Sep 08, 2018 19:00
by ManElevation
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

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

PostPosted: Mon Dec 31, 2018 14:46
by ScorchedFalcon
This is a great guide, thanks Craig!

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

PostPosted: Thu Sep 19, 2019 00:06
by Zalera
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?

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

PostPosted: Fri Sep 20, 2019 07:14
by Kor
@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?

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

PostPosted: Fri Sep 20, 2019 16:15
by Zalera
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...

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

PostPosted: Fri Sep 20, 2019 19:41
by Zalera
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?

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

PostPosted: Sat Sep 21, 2019 01:52
by Kor
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.

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

PostPosted: Sat Sep 21, 2019 11:41
by Zalera
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?

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

PostPosted: Sat Sep 21, 2019 12:32
by Enrikoo
According to the description, did he hosted a server without paying for it? I'm forcing to make a MT 0.4 server

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

PostPosted: Sat Sep 21, 2019 16:56
by Zalera
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?

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

PostPosted: Sat Sep 21, 2019 17:37
by Zalera
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...

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

PostPosted: Sun Sep 22, 2019 16:05
by Enrikoo
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?

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

PostPosted: Sun Sep 22, 2019 16:23
by bosapara
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.

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

PostPosted: Sun Sep 22, 2019 16:35
by Enrikoo
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.