Server browser connect not working for dedicated server
Server browser connect not working for dedicated server
I'm posting it here since nobody looks at dedicated server posts and I actually might get help here, since it is technical problem.
I have server behind NAT, anyone can connect if they use direct connection to my IP (from internet), but trying to connect to server from LAN or internet via server browser does not work, but direct connection works perfectly from internet and LAN.
So if they try to connect to my server listed as CPY Industrial Revolution, it's unreachable, but direct connect to cpy.zapto.org works I think you have something broken in public server browser.
I have server behind NAT, anyone can connect if they use direct connection to my IP (from internet), but trying to connect to server from LAN or internet via server browser does not work, but direct connection works perfectly from internet and LAN.
So if they try to connect to my server listed as CPY Industrial Revolution, it's unreachable, but direct connect to cpy.zapto.org works I think you have something broken in public server browser.
Re: Server browser connect not working for dedicated server
Post corresponding logs of server and client after a session with the issue.
Re: Server browser connect not working for dedicated server
Ok, any help with logs location for dedicated server? Oh I see your signature. ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Server browser connect not working for dedicated server
Here are the logs:
- Attachments
-
- factorio-current-server.log
- (60.11 KiB) Downloaded 89 times
-
- factorio-current-client.log
- (67.14 KiB) Downloaded 100 times
Re: Server browser connect not working for dedicated server
So I just tried connecting to your server, both from the server browser (which failed; the server browser also failed to establish a ping) and connecting directly to cpy.zapto.org (which managed to connect, but I don't know the password; that doesn't matter for this test; I think the logs have enough data). From my log
Note the different ports. The server browser gave me 1453 (which failed), and direct connect (without me specifying a port) gave me 34197. Could be a network configuration/routing/port forwarding issue. (Could also be caused by two servers running on the same external ip, but only one being externally reachable).
Also reminds me of viewtopic.php?f=7&t=62792#p443290 and viewtopic.php?f=49&t=73540&p=444126 .
I suggest checking what port the server is actually running on, and your routers port forwarding rules.
Code: Select all
273.147 Joining game IP ADDR:({95.170.228.66:1453})
273.147 Info UDPSocket.cpp:33: Opening socket
273.148 Info ClientMultiplayerManager.cpp:592: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
283.160 Error ClientMultiplayerManager.cpp:101: MultiplayerManager failed: multiplayer.not-received-connection-accept-reply
283.160 Info ClientMultiplayerManager.cpp:592: UpdateTick(4294967295) changing state from(Connecting) to(InitializationFailed)
378.429 Info ClientMultiplayerManager.cpp:207: Quitting multiplayer connection.
378.429 Info ClientMultiplayerManager.cpp:592: UpdateTick(4294967295) changing state from(InitializationFailed) to(Disconnected)
378.430 Info UDPSocket.cpp:218: Closing socket
378.430 Info UDPSocket.cpp:248: Socket closed
398.430 Joining game IP ADDR:({95.170.228.66:34197})
398.431 Info UDPSocket.cpp:33: Opening socket
398.431 Info ClientMultiplayerManager.cpp:592: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
399.159 Connection refused
399.159 Info ClientMultiplayerManager.cpp:207: Quitting multiplayer connection.
399.159 Info ClientMultiplayerManager.cpp:592: UpdateTick(4294967295) changing state from(Connecting) to(Disconnected)
399.164 Info UDPSocket.cpp:218: Closing socket
399.164 Info UDPSocket.cpp:248: Socket closed
Also reminds me of viewtopic.php?f=7&t=62792#p443290 and viewtopic.php?f=49&t=73540&p=444126 .
I suggest checking what port the server is actually running on, and your routers port forwarding rules.
Re: Server browser connect not working for dedicated server
Ok why is the server browser getting different port? I want to set everything manually.
Re: Server browser connect not working for dedicated server
One possible explanation. Your server is running on 34197, but your router is doing NAT on the outbound connections to the pingpong servers, and translating that to 1453, despite you having setup port forwarding for port 34197. The fix would be convincing your router not to do that.
Re: Server browser connect not working for dedicated server
I don't think router is doing this.
ServerRouter.cpp is doing this crap! (factorio code?)
My server is in DMZ.
ServerRouter.cpp is doing this crap! (factorio code?)
My server is in DMZ.
- BlueTemplar
- Smart Inserter
- Posts: 2421
- Joined: Fri Jun 08, 2018 2:16 pm
- Contact:
Re: Server browser connect not working for dedicated server
I'm curious : is it possible for you to remove NAT and force IPv6 ? No port-forwarding, no problem ?
BobDiggity (mod-scenario-pack)
Re: Server browser connect not working for dedicated server
I can try plugging server directly to internet. I think that their stupid ass nat punch service is broken and unable to define static port is doing this.
I don't need UDP NAT punch, i need a way to set everything myself.
When i block pingpong*.factorio.com I get correct port but wrong IP in game list 10.30.49.248 (which is none of my internal IPs or anything else).
I don't need UDP NAT punch, i need a way to set everything myself.
When i block pingpong*.factorio.com I get correct port but wrong IP in game list 10.30.49.248 (which is none of my internal IPs or anything else).
- BlueTemplar
- Smart Inserter
- Posts: 2421
- Joined: Fri Jun 08, 2018 2:16 pm
- Contact:
Re: Server browser connect not working for dedicated server
Just don't forget to check that your firewall is up to date and working !
NAT wasn't designed with security in mind, but AFAIK it does help somewhat ?
NAT wasn't designed with security in mind, but AFAIK it does help somewhat ?
BobDiggity (mod-scenario-pack)
Re: Server browser connect not working for dedicated server
I don't use firewall, everything that does not use stupid ass udp hole punching and can be configured myself and not rely on god damn servers somewhere else works!
My webserver works, my ftp server works, mumble server works. Everything that I can set manually myself works.
I guess I need another router. Stupid Chinese Tenda crap. Never again.
My webserver works, my ftp server works, mumble server works. Everything that I can set manually myself works.
I guess I need another router. Stupid Chinese Tenda crap. Never again.