[solved] My server isn't getting announced.

Post Reply
User avatar
Hume2
Member
Posts: 551
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

[solved] My server isn't getting announced.

by Hume2 » Post

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>
Last edited by Hume2 on Tue Jun 11, 2019 18:50, edited 2 times in total.
If you lack the reality, go on a trip or find a job.

User avatar
Festus1965
Member
Posts: 1286
Joined: Sun Jan 03, 2016 11:58
In-game: Thomas Explorer Thailand
Location: Thailand - Chiang Mai (+5-6h to MEZ)
Contact:

Re: My server isn't getting announced.

by Festus1965 » Post

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

User avatar
Hume2
Member
Posts: 551
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: My server isn't getting announced.

by Hume2 » Post

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?
If you lack the reality, go on a trip or find a job.

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

Re: My server isn't getting announced.

by Krock » Post

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
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Hume2
Member
Posts: 551
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: My server isn't getting announced.

by Hume2 » Post

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!
If you lack the reality, go on a trip or find a job.

User avatar
Festus1965
Member
Posts: 1286
Joined: Sun Jan 03, 2016 11:58
In-game: Thomas Explorer Thailand
Location: Thailand - Chiang Mai (+5-6h to MEZ)
Contact:

Re: My server isn't getting announced.

by Festus1965 » Post

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.

User avatar
Hume2
Member
Posts: 551
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

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

by Hume2 » Post

Okay, I did it.
If you lack the reality, go on a trip or find a job.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests