Page 1 of 1

[solved] My server isn't getting announced.

PostPosted: Sun Jun 09, 2019 12:57
by Hume2
I'm trying to announce my server. I set server_announce to true and the list still doesn't contain my server. I use this branch. The branch only adds another mapgen which I use, everything else is the same as in master.

The excerpt from stderr:
Code: Select all
...
        .__               __                   __   
  _____ |__| ____   _____/  |_  ____   _______/  |_
 /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
|  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  | 
|__|_|  /__|___|  /\___  >__|  \___  >____  > |__| 
      \/        \/     \/          \/     \/       
2019-06-09 12:10:54: ACTION[Main]: World at [/home/vpsuser/minetest/bin/../world
s/Tunnelers' Abyss]
2019-06-09 12:10:54: ACTION[Main]: Server for gameid="minetest_game" listening o
n 0.0.0.0:30000.
2019-06-09 12:10:55: ACTION[Server]: [advtrains]nodedb: read 1727 nodes.
2019-06-09 12:10:55: ACTION[Server]: [advtrains][load_all]Loaded advtrains save
files
2019-06-09 12:10:55: ACTION[Server]: Announcing to servers.minetest.net
2019-06-09 12:11:32: ACTION[Server]: Hume2 [█████████] joins game.
2019-06-09 12:11:32: ACTION[Server]: Hume2 joins game. List of players: Hume2
2019-06-09 12:11:36: WARNING[Server]: Assignment to undeclared global "random_nu
...

I censored my IP adress.

So server_announce is true, server_name is set, server_description is set. So why don't I see my server on the list?

Solution:
Add this to minetest.conf:
Code: Select all
server_address = <server public IP>

Re: My server isn't getting announced.

PostPosted: Sun Jun 09, 2019 13:27
by Festus1965
Hume2 wrote:2019-06-09 12:10:54: ACTION[Main]: Server for gameid="minetest_game" listening o
n 0.0.0.0:30000.


is that the internet IP address (what can direct ping from Internet) of an privat network (like 192.168....) WITH the right portforwarding from the official IP ?
or direct an open outside IP ?

or like this can people from outside (Internet) join ? as this indicates a bit, where we have to investigate - and also check that set 5000 curl ? time, and wait about 5 minutes to be sure ...

How often I had this,
a yes, at me the port forwarding settings got easy in router, but needed RESTART to use them ... check

Re: My server isn't getting announced.

PostPosted: Sun Jun 09, 2019 15:38
by Hume2
Sorry, I am a little noobish. I rented a virtual server and ran minetestserver on it. I did enough with the default network config. I can join the server normally, my friends from distinct countries can join as well. So what should I check?

Re: My server isn't getting announced.

PostPosted: Sun Jun 09, 2019 18:17
by Krock
Does this change anything?
Code: Select all
bind_address = 127.0.0.1
server_address = <server public IP>

It might take a few minutes until the server is shown in the list, at least I can see that it announces:
2019-06-09 12:10:55: ACTION[Server]: Announcing to servers.minetest.net

Re: My server isn't getting announced.

PostPosted: Sun Jun 09, 2019 19:01
by Hume2
Now the server doesn't even start and I'm getting this:
Code: Select all
        .__               __                   __   
  _____ |__| ____   _____/  |_  ____   _______/  |_
 /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
|  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  | 
|__|_|  /__|___|  /\___  >__|  \___  >____  > |__| 
      \/        \/     \/          \/     \/       
2019-06-09 18:58:05: ACTION[Main]: World at [/home/vpsuser/minetest/bin/../worlds/Tunnelers' Abyss]
2019-06-09 18:58:05: ACTION[Main]: Server for gameid="minetest_game" listening on 127.0.0.1:30000.
2019-06-09 18:58:05: ACTION[Server]: [advtrains]nodedb: read 2654 nodes.
2019-06-09 18:58:05: ACTION[Server]: [advtrains][load_all]Loaded advtrains save files
2019-06-09 18:58:05: ACTION[Server]: Announcing to servers.minetest.net
2019-06-09 18:58:05: ERROR[CurlFetch]: servers.minetest.net/announce not found (Couldn't connect to server) (response code 0)



EDIT:
I omited the bind_address and it works perfectly. The server is now announced, thank you vary much!

Re: My server isn't getting announced.

PostPosted: Sun Jun 09, 2019 22:53
by Festus1965
Hume2 wrote:EDIT:
I omited the bind_address and it works perfectly. The server is now announced, thank you vary much!


nice, then please mark the first post al solved .. and make sure others see the solution fast.

Re: [solved] My server isn't getting announced.

PostPosted: Tue Jun 11, 2019 18:50
by Hume2
Okay, I did it.