Download

Swarm ports (8008, 8009)

Greetings!
I’ve read a question from a user on Discord.

The ussue was with the port mapping.
Now it uses ports 8008, and 8009.
But those ports are managed by IANA, and registered for other uses.
Specifically TCP 8009 is registered for NVME service.
https://www.iana.org/assignments/ser…ml?search=8009

So, the question, how to change a port mapping for the swarm agent?

According to our documentation it seems that it’d be something an IT department would need to manage:

  • Open your Swarm Log and check for the following error message:
  • Exception details: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 123.456.7.89:8009
    You may need to involve your IT department to solve this issue with port assignments, especially since Swarm requires ports 8008 and 8009 to function properly. Without those ports, it will fail to initiate any agents or coordinator. It is not an issue specifically caused by UE4.

Yeah, that’s the issue. What if I can’t provide mentioned ports to Swarm. What if they are used by services? 8008 is actually a http-alt port.
Wouldn’t be wise to let people use arbitrary/custom ports?