Clarity on UE4 network connections

Hello IMX,

Sorry for the delay in responding. This is a pretty big and technical question so I had some of the Devs here take a look at the question and they were able to give lot’s of information on the subject!

Here is a rundown of all the various services that could make connections that I can see so far:

HTTP subsystem

  • Uses standard http ports

  • Can be disabled by setting bEnableHttp to false in the
    engine.ini file: [HTTP]
    bEnableHttp=false

• UDP Transport for UDP messaging system

  • UDP 6666 can be overridden in Engine.ini in the
    /Script/UdpMessagingSettings
    section.

  • It is currently not documented, but the available settings can be found
    in UUdpMessagingSettings

  • Can be disable by disabling the UDP messaging plug-in

• Gameplay replication

  • UDP 7777 (but can be changed in the ini files)
  • These connections are initiated when you connect to another server,
    usually via the “open” console
    command, or through UI in your game
    that may drive this under the hood
  • LAN beacons will communicate on port 14001, but again won’t happen
    unless this is driven by connecting
    to servers through open or UI, etc.

Hope this helps!

-Max B.