Multiplayer server not appearing in server list
Moderator: OpenTTD Developers
Multiplayer server not appearing in server list
This isn't really the kind of post I should be writing as my first post and I know this question has been asked a hundred times before, but I am having issues with starting a server online. I've scoured all the threads on this forum I can find about the problem but haven't found a solution for it.
So far, I've ensured that the option is set to broadcast my server to the server list when I launch it and I know that I have enough bandwidth to support it. I've made sure that both Windows Firewall and my other firewall allow in- and outbound connections for openttd.exe and that my router is forwarding the port range used by the game. I'm able to join online games just fine. I've also tried using Hamachi but the other person I'm trying to set up the server for (for a private game) can't handle Hamachi on their bandwidth, somehow, but they do have enough bandwidth to play OTTD online (but, seemingly, not enough to host), so Hamachi isn't an option. My server still isn't appearing to them in the server list no matter how long I wait, and manually adding my IP results in their client finding the right information, apart from the server name, and saying that the server is offline, even though it obviously isn't.
Is there anything else I might be able to do to get it working?
So far, I've ensured that the option is set to broadcast my server to the server list when I launch it and I know that I have enough bandwidth to support it. I've made sure that both Windows Firewall and my other firewall allow in- and outbound connections for openttd.exe and that my router is forwarding the port range used by the game. I'm able to join online games just fine. I've also tried using Hamachi but the other person I'm trying to set up the server for (for a private game) can't handle Hamachi on their bandwidth, somehow, but they do have enough bandwidth to play OTTD online (but, seemingly, not enough to host), so Hamachi isn't an option. My server still isn't appearing to them in the server list no matter how long I wait, and manually adding my IP results in their client finding the right information, apart from the server name, and saying that the server is offline, even though it obviously isn't.
Is there anything else I might be able to do to get it working?
Re: Multiplayer server not appearing in server list
make sure you forwarded both TCP and UDP on the right port.
Re: Multiplayer server not appearing in server list
Hey I've (possibly) got the same issue, when I start a dedicated server, initially the master server can contact my server, but after a while it starts whining it isn't receiving an ack. I'm still looking into the issue, but so far haven't found the problem.
Re: Multiplayer server not appearing in server list
Registration to the master server happens in two steps. In the first step it gets an unique ID so all IP addresses you try to register are mapped to the same server. This is what works for you.
In the second step you actually try to register. OpenTTD's master server will only register you when the master server can connect to your server on the port it registers. This is what fails. It also means that somewhere port forwarding is set up incorrectly or there is a firewall blocking the packets. I'm not familiar with the routing/firewalling hardware/software you have, so I can't tell whether there's something wrong with that. Though arguably you've forgotten some step, or you have two routers and are only forwarding at one. E.g. you have bought a NAT-ing router which you configured but your cable/DSL modem acts as a NAT-ing router.
In the second step you actually try to register. OpenTTD's master server will only register you when the master server can connect to your server on the port it registers. This is what fails. It also means that somewhere port forwarding is set up incorrectly or there is a firewall blocking the packets. I'm not familiar with the routing/firewalling hardware/software you have, so I can't tell whether there's something wrong with that. Though arguably you've forgotten some step, or you have two routers and are only forwarding at one. E.g. you have bought a NAT-ing router which you configured but your cable/DSL modem acts as a NAT-ing router.
Re: Multiplayer server not appearing in server list
Hmm ok, as I said, still looking into the issue, however three questions:
1- what does last_port in the cfg mean? Forum search and the wiki page don't help out.
2- how does this issue relate to users being able to contact the server(see attached screen shot)? edit:As this shows, after a restart of the server both steps in the server register process work, I have not changed anything to the router. edit2:Now that I think of it, of course it's possible that the clients have remembered my ip+port, however, I guess that's rather unlikely as the issues was on at least for a night.
edit3: To show it starts failing in like 15 minutes or so, the following server log. Colourful blocks are used to show where screen shots overlap. I know most likely the issue is somewhere in my network set-up, I just haven't been able to figure out why / where.
1- what does last_port in the cfg mean? Forum search and the wiki page don't help out.
2- how does this issue relate to users being able to contact the server(see attached screen shot)? edit:As this shows, after a restart of the server both steps in the server register process work, I have not changed anything to the router. edit2:Now that I think of it, of course it's possible that the clients have remembered my ip+port, however, I guess that's rather unlikely as the issues was on at least for a night.
edit3: To show it starts failing in like 15 minutes or so, the following server log. Colourful blocks are used to show where screen shots overlap. I know most likely the issue is somewhere in my network set-up, I just haven't been able to figure out why / where.
Re: Multiplayer server not appearing in server list
Hmm, thanks. I had it forwarding TCP and UDP (D-Link routers are so weird) but I've expanded it to open both 3978 and 3979 just in case. I'm going to see what happens when my friend is able to test it in a few hours (annoyingly) and then, of course, post the findings.
EDIT: Nice to see my thread was hijacked while I was gone. O..o
EDIT: Nice to see my thread was hijacked while I was gone. O..o
Re: Multiplayer server not appearing in server list
Alright, sorry for the double post but I've made sure ports 3978 and 3979 are forwarded correctly and aren't being blocked by any firewalls. We just checked if my server will show up now and it still won't. Considering what else I've already done to make sure it will connect properly, I'm completely stumped on what the problem is. I'm having an identical problem with another game (ZDaemon) where my server won't show up in the server list but I'm not having that problem in other games. Does anyone have any ideas on what else I could do?
-
- Engineer
- Posts: 11
- Joined: 10 Dec 2010 06:12
Re: Multiplayer server not appearing in server list
So I've got a problem too... I am a total noob and dont understand all this talk of ports and strange things... Is there a guide for dummies somewhere that explains how to start a new multiplayer game?
When my friend and I want to play together, we can only join other games. Each time we create one, it doesnt appear on the server list.
How do we fix this?
Need instructions like "navigate to yaadayada, open yadayada, and click on yadayada"...
Using XP on one and Vista on the other...
I've tried reading online but its too technical.....
When my friend and I want to play together, we can only join other games. Each time we create one, it doesnt appear on the server list.
How do we fix this?
Need instructions like "navigate to yaadayada, open yadayada, and click on yadayada"...
Using XP on one and Vista on the other...
I've tried reading online but its too technical.....
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multiplayer server not appearing in server list
Without that it won't work. If you know the ports, everything else depends on your computer, your OS and your networking hardware / modems. We can hardly guess that. And we cannot read for you. "Just" open the ports in both your computer's and your router's / modem's fire walls. Both of you.Gummipalle wrote:I've tried reading online but its too technical.....
OpenTTD uses TCP and UDP port 3979 for server <-> client communication, UDP port 3978 for masterserver (advertise) communication (outbound), and TCP port 3978 for content service, a.k.a. BaNaNaS (outbound)
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
-
- Engineer
- Posts: 11
- Joined: 10 Dec 2010 06:12
Re: Multiplayer server not appearing in server list
Firewalls are disabled...
...I can join others, they just dont see me....?
What does "router is forwarding the port range used by the game" mean, and how do I set my router thing? using xp...
...I can join others, they just dont see me....?
What does "router is forwarding the port range used by the game" mean, and how do I set my router thing? using xp...
-
- Engineer
- Posts: 11
- Joined: 10 Dec 2010 06:12
Re: Multiplayer server not appearing in server list
GOT IT! ..... Man that was tricky! THNX for the reply though...
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multiplayer server not appearing in server list
Now, you would help possibly others if you described in details both your setup and your way to successfully solve your issue. Make screenshots to illustrate your case - the information that there is _a_ way is... something most people knowGummipalle wrote:GOT IT! ..... Man that was tricky! THNX for the reply though...
This question gets asked literally every week and every answer has to be different due to different routers etc pp, so it might still serve as guide for others.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
-
- Engineer
- Posts: 11
- Joined: 10 Dec 2010 06:12
Re: Multiplayer server not appearing in server list
Sure i could do a guide! But where do I post it?
Re: Multiplayer server not appearing in server list
Alright, sorry for the bump but I am still having a problem. I'm getting the feeling that it's going to get to the point where no one actually knows how to fix this. I actually now have no firewalls running at the moment, have the correct ports forwarded (of which I know because I tested them), and it's still not appearing in the list. I've tried letting the server run for about an hour before having someone check if it's there. I know it's not my bandwidth or connection speed because I know people who are worse off with both and their servers still appear in the list and... it's a long shot, but I know there are a lot of other people running servers in the same country as me, so I know that's not the problem. I'm completely lost as to what might be happening, now.
EDIT: I should probably elaborate a little. I tried launching a dedicated server and it said "we are not receiving the acknowledgement from the server" and told me to allow UDP and TCP on port 3979. I know it's doubtful that anyone can give me help with the router, but I've set it to allow both inbound and outbound, TCP and UDP on 3979 so either there's another problem that isn't the router, firewall or connection or I need to get a new router.
EDIT: I should probably elaborate a little. I tried launching a dedicated server and it said "we are not receiving the acknowledgement from the server" and told me to allow UDP and TCP on port 3979. I know it's doubtful that anyone can give me help with the router, but I've set it to allow both inbound and outbound, TCP and UDP on 3979 so either there's another problem that isn't the router, firewall or connection or I need to get a new router.
Last edited by Take One on 07 Jan 2011 21:46, edited 2 times in total.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multiplayer server not appearing in server list
Compare your port to the two ports needed, most notably the advertising port for communication with the master server:
And actually the nightlies can accept on port 3977 incoming admin control connections.OpenTTD uses TCP and UDP port 3979 for server <-> client communication, UDP port 3978 for masterserver (advertise) communication (outbound), and TCP port 3978 for content service, a.k.a. BaNaNaS (outbound)
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Multiplayer server not appearing in server list
Yeah, I'd check that out if the other people I'm trying to play with would use the nightlies. Actually, I just tested the ports again with a more reliable tester and it's coming back negative, so it is my router. Thank you very much for the help but there's nothing more that can be done from the forum so I'm going to go and find out what's wrong with it.planetmaker wrote:Compare your port to the two ports needed, most notably the advertising port for communication with the master server:
And actually the nightlies can accept on port 3977 incoming admin control connections.OpenTTD uses TCP and UDP port 3979 for server <-> client communication, UDP port 3978 for masterserver (advertise) communication (outbound), and TCP port 3978 for content service, a.k.a. BaNaNaS (outbound)
Who is online
Users browsing this forum: No registered users and 31 guests