Unreal network ports

anonymous_user_2fc8a6ac
Thu, 04 Aug 2016 10:56:31 +0000
Multiplayer & Networking

Hi,

I need to make some performance tests with the server. Therefore I rented a azure cloud VM and startet a server but I’m unable to connect. The server console just shows nothing and in my clients log is:

[2016.08.04-10.29.09:718][753]LogNet:Warning: UNetConnection::Tick: Connection TIMED OUT. Closing connection. Elapsed: 60.00, Real: 60.00, Good: 60.00, DriverTime: 60.00, Threshold: 60.00, [UNetConnection] RemoteAddr: XXX.XXX.XXX.XXX:XXXXX, Name: IpConnection_1, Driver: PendingNetDriver IpNetDriver_1, IsServer: NO, PC: NULL, Owner: NULL
[2016.08.04-10.29.09:718][753]LogNet:Warning: Network Failure: PendingNetDriver[ConnectionTimeout]: UNetConnection::Tick: Connection TIMED OUT. Closing connection. Elapsed: 60.00, Real: 60.00, Good: 60.00, DriverTime: 60.00, Threshold: 60.00, [UNetConnection] RemoteAddr: XXX.XXX.XXX.XXX:XXXXX, Name: IpConnection_1, Driver: PendingNetDriver IpNetDriver_1, IsServer: NO, PC: NULL, Owner: NULL

Our IT is very very very restrictive. I have a defined port range for testing. No other ports are allowed as outgoing or incoming ports. I started the server on one of the testing ports with -port=xxxxx. In the console I’ll get the output:

LogNet: GameNetDriver IpNetDriver_0 IpNetDriver listening on port xxxxx

But i can’t connect from my client to the server. The port xxxxx is open for in and out. I can run other services on the server like FTP and I’m able to connect (using passive mode with ports from the open port range). And I’m also able to connect to my server from outside our secured network. If I’m connecting from outside our secured network the server console shows me:

[2016.08.04-10.25.50:255][111]LogNet: AddClientConnection: Added client connection: [UNetConnection] RemoteAddr: XXX.XXX.XXX.XXX:62570, Name: IpConnection_0, Driv er: GameNetDriver IpNetDriver_0, IsServer: YES, PC: NULL, Owner: NULL

It looks like the server tries to open a connection on port 62570 to the client. This will be rejected by our firewall.
What ports do we need to open for a successful connection and how can I configure that port range in the unreal server?

Thanks

2 posts - 1 participant