Multiplayer
Moderator: OpenTTD Developers
Multiplayer
hi team i want to play multiplayer with a friend that has openttd,
now i have my port open which is 3979 but when i go to play multiplayer in
openttd my server says offline? please help
now i have my port open which is 3979 but when i go to play multiplayer in
openttd my server says offline? please help
- Redirect Left
- Tycoon
- Posts: 7249
- Joined: 22 Jan 2005 19:31
- Location: Wakefield, West Yorkshire
Re: Multiplayer
Make sure the port was forwarded to the correct local IP (aka: your local machine, and not the IP of another machine)
Make sure the port is open for both UDP & TCP, as I believe it uses both to some degree.
Make sure you have actually started the server from your local copy of OpenTTD, or started the server with openttd -D on console if running the server headless.
Make sure the port is open for both UDP & TCP, as I believe it uses both to some degree.
Make sure you have actually started the server from your local copy of OpenTTD, or started the server with openttd -D on console if running the server headless.
Re: Multiplayer
well the port was open haha my ipv4 address is 192.168.0.6
that's were i have forwarded 3979 and 3978 to but when i goto canyouseeme.org
it gives an error
that's were i have forwarded 3979 and 3978 to but when i goto canyouseeme.org
it gives an error
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multiplayer
That is a private IP address which no-one external to your (home) network will be able to access. Extern users must use your public IP address which your router has - and which then must forward the mentioned ports towards your computer with your internal IP which you quote here.Strawbs89 wrote:well the port was open haha my ipv4 address is 192.168.0.6
that's were i have forwarded 3979 and 3978 to but when i goto canyouseeme.org
it gives an error
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
it's still saying error i've correctly port forwarded in outbound
and inbound but i don't see why its giving error
and inbound but i don't see why its giving error
- Attachments
-
- Untitled.png
- (84.43 KiB) Not downloaded yet
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multiplayer
As host you need to enable the port especially for inbound and outbound connections for both TCP/IP and UDP.
Additionally you need 3878 outbound to connect to our server if you want your server announced publicly (so that people need not type in your IP manually but can search for it ingame)
Our multiplayer readme which shipps with OpenTTD is a bit hidden in a separate file: https://github.com/OpenTTD/OpenTTD/blob ... player.txt
If the problem persists you might try what is detailed in the troubleshooting section therein to get more details where it fails
Additionally you need 3878 outbound to connect to our server if you want your server announced publicly (so that people need not type in your IP manually but can search for it ingame)
Our multiplayer readme which shipps with OpenTTD is a bit hidden in a separate file: https://github.com/OpenTTD/OpenTTD/blob ... player.txt
If the problem persists you might try what is detailed in the troubleshooting section therein to get more details where it fails
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
ok so i'v followed that link you sent me i'v opened 3978 in (outbound only) in both my router
and my windows defender firewall. as there's the other port 3979 thats outbound and inbound in both router and again windows defender firewall i check canyouseeme still error
and my windows defender firewall. as there's the other port 3979 thats outbound and inbound in both router and again windows defender firewall i check canyouseeme still error
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multiplayer
Well... I check with https://servers.openttd.org whether it shows up there (it should when advertizement is working after a minute or so).
And all it needed to activate was adding the ports to my router.
It's not unheard of windows to sabotage any public services by whatever security policies it might have. So you might weed through windows security settings (I'm not familiar with those)
And all it needed to activate was adding the ports to my router.
It's not unheard of windows to sabotage any public services by whatever security policies it might have. So you might weed through windows security settings (I'm not familiar with those)
- Attachments
-
- router_config.png (16.72 KiB) Viewed 720 times
-
- servers_openttd_org.png (24.58 KiB) Viewed 720 times
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
rite my server is not logged on that server link you gave me now i don't know
if i have to have the game open or not
if i have to have the game open or not
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multiplayer
Yes you do. And I'm pretty confident you need to have it running as well when you use the site you linked.Strawbs89 wrote:rite my server is not logged on that server link you gave me now i don't know
if i have to have the game open or not
EDIT: tested, yes, you need to have OpenTTD running as server to use the service you linked... or it won't find anything to connect to.
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
what can you see my server on that list
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multiplayer
How would I know how you call your server? And I cannot see more than you when checking any website. See also my edit to my answer aboveStrawbs89 wrote:what can you see my server on that list
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
ok would it be possible if you team viewed me please? to double check if ports are forwarded correctly
Re: Multiplayer
In your screenshot, the "access from" field should not contain an IP address, as that is for limiting access to just that IP.
He's like, some kind of OpenTTD developer.
Re: Multiplayer
i have added two screenshots of my inbound and outbound
- Attachments
-
- outbound.png
- (24.48 KiB) Not downloaded yet
-
- inbound.png
- (29.93 KiB) Not downloaded yet
Re: Multiplayer
Change the "Access From" drop down to whatever allows everything.
He's like, some kind of OpenTTD developer.
Re: Multiplayer
I don't know anything about your router software but in networking, the source is the sending the packet and the destination is the receiver. Also, when you talk about a range of addresses, the start is the beginning and "the finish" would be the end of the range.
My guess would be that your inbound connection range needs to be 0.0.0.0 to 0.0.0.0 to allow all computers on the internet to reach your server. 192.168.1.4 is your computer which is the destination, not the source for inbound packets.
Outbound is the reverse: your computer is the source and your friend is the destination.
My guess would be that your inbound connection range needs to be 0.0.0.0 to 0.0.0.0 to allow all computers on the internet to reach your server. 192.168.1.4 is your computer which is the destination, not the source for inbound packets.
Outbound is the reverse: your computer is the source and your friend is the destination.
Re: Multiplayer
so outbound is the source
Re: Multiplayer
so i'v done everything and still error
Re: Multiplayer
so i go here https://www.yougetsignal.com/tools/open-ports/
to check if my ports 3979 and 3978 are open, i have the game open as well
i have these ports in my windows firewall as well... as someone last described
in another section on here that he turned off his ipv6 which i have done as well
and i goto that website for port checker and still it's closed like wtf am i doing wrong
i'v attached 3 images
to check if my ports 3979 and 3978 are open, i have the game open as well
i have these ports in my windows firewall as well... as someone last described
in another section on here that he turned off his ipv6 which i have done as well
and i goto that website for port checker and still it's closed like wtf am i doing wrong
i'v attached 3 images
- Attachments
-
- in&out.png
- (46.17 KiB) Not downloaded yet
Who is online
Users browsing this forum: No registered users and 9 guests