Help Center Help Articles Professional Support Professional Integrators Community RMA & Warranty Downloads Tech Specs

Required Ports Reference

The following tables list UDP and TCP ports used by UniFi applications and services. This reference is especially useful for deployments using self-hosted UniFi Network Servers, third-party gateways, or restrictive firewalls.

In a full UniFi deployment with native gateways, these ports are opened automatically.

Remote Management

ProtocolPortDirectionUsage
TCP/UDP53BothDNS lookups for remote access, updates, and Guest Portal redirection (also required for UniFi Network)
UDP123EgressNTP (time sync). Required for establishing secure connections
UDP3478BothSTUN for remote access (also required for UniFi Network)
TCP443BothRemote Access service, application GUI/API access via web browser (also required for UniFi Network)
TCP8883EgressRemote Access service
TCP5349IngressRemote access support

UniFi Network

ProtocolPortDirectionUsage
TCP/UDP53BothDNS lookups for Guest Portal redirection and updates (also required for Remote Management)
UDP3478BothSTUN for device adoption and communication (also required for Remote Management)
TCP5671IngressTraffic Flow logging for UXGs adopted on L2 or L3 networks.
TCP8080IngressDevice and application communication
TCP8443IngressApplication GUI/API (on UniFi Console)
TCP8880 – 8882IngressHotspot portal redirection (HTTP)
TCP8843IngressHotspot portal redirection (HTTPS)
TCP8444IngressSecure Portal for Hotspot
TCP6789IngressUniFi mobile speed test
TCP27117IngressLocal database communication
UDP10001IngressDevice discovery during adoption
UDP1900IngressL2 discovery (“Make application discoverable on L2 network”)
UDP5514IngressRemote syslog capture
TCP/UDP22BothSSH access (manual management, not used by default)
TCP443BothApplication GUI/API access via web browser (also required for Remote Management)

UniFi Protect

ProtocolPortDirectionUsage
TCP7441IngressOutgoing RTSPS streams
TCP7442BothWebSocket server for device communication
TCP7443BothREST API (HTTPS)
TCP7444BothWebSocket server for camera communication
TCP7445IngressOutgoing Protect streams
TCP7447IngressOutgoing RTSP streams
TCP7550IngressCamera streams
TCP7552BothSSL camera connections
TCP7888BothTCP Bridge

Stacked NVRs Only (MSR/MSP)

These ports are only required if using physically stacked NVRs. They should be added in addition to the ports above.

ProtocolPortDirectionUsage
TCP7446BothProtect streams between consoles
TCP7451BothProtect streams between consoles
TCP7600BothProtect application communications

UniFi Connect

ProtocolPortDirectionUsage
UDP2647IngressLutron Processor discovery (HomeWorks QSX, HomeWorks Wireless, RadioRA3)
UDP5353IngressLutron Processor discovery (HomeWorks QS, RadioRA2)
TCP18080IngressApplication GUI/API (on UniFi Console)
TCP18443BothWebSocket server for device communication (HTTPS)
TCP18884BothMQTT server for device communication
TCP18888BothInternal Lutron proxy (between Lutron Processor and UniFi Connect)

UniFi Access

ProtocolPortDirectionUsage
TCP12812BothMQTT server for device communication
TCP12442BothWebSocket server (UCP4) for device communication
TCP12443BothHTTPS server for device communication
TCP12445BothOpen API
TCP12478BothWebRTC TURN server for device communication

Changing Default Ports on Network Server

Changing default port assignments is only supported on self-hosted UniFi Network Servers (Windows/macOS/Linux):

  1. Close any running UniFi Network application.
  2. Modify the system.properties file found in <unifi_base>/data/system.properties.
    • Example: To change the shutdown port from 8081 to 8089, set unifi.shutdown.port=8089.
  3. Restart the UniFi Network application.

Ensure no extra spaces, comments, or characters (e.g., #) appear on the modified line, or the change will be ignored.

Was this article helpful?