I’m having problems establishing client connections to a headless linux server (CentOS 7.3). I’m using NetworkManager out-of-the-box in a very simple test project. The clients reach the server then immediately time out: OnServerConnect and OnServerError are never called. The server logs the timeouts but nothing else:
Log: connection {1} has been disconnected by timeout; address {::ffff:xx.xxx.xx.xxx:61652}
Log: connection {2} has been disconnected by timeout; address {::ffff:xx.xxx.xx.xxx:61652}
The same code works fine when the server is started from a Windows build (including when the Windows server hosted outside the local network). My first instinct was firewall configuration, but even when disabling the server firewall I get the same issue.
Any advice on solutions or potential debugging paths would be appreciated!
I can confirm this solves the issue. We were having the same problem with a server that has two IP address (external facing, internal facing). What made matters worse was that the client (before the fix) randomly connected consistently for hours and then would just randomly disconnect immediately on connect for another couple hours.
Checking “Server Bind to IP” and hardcoding the IP address we wanted to use fixed the issue.