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
Protocol
Port
Direction
Usage
TCP/UDP
53
Both
DNS lookups for remote access, updates, and Guest Portal redirection (also required for UniFi Network)
UDP
123
Egress
NTP (time sync). Required for establishing secure connections
UDP
3478
Both
STUN for remote access (also required for UniFi Network)
TCP
443
Both
Remote Access service, application GUI/API access via web browser (also required for UniFi Network)
TCP
8883
Egress
Remote Access service
TCP
5349
Ingress
Remote access support
UniFi Network
Protocol
Port
Direction
Usage
TCP/UDP
53
Both
DNS lookups for Guest Portal redirection and updates (also required for Remote Management)
UDP
3478
Both
STUN for device adoption and communication (also required for Remote Management)
TCP
5671
Ingress
Traffic Flow logging for UXGs adopted on L2 or L3 networks.
TCP
8080
Ingress
Device and application communication. Some U6 APs may have this port open on device for UP-Sense communication.
TCP
8443
Ingress
Application GUI/API (on UniFi Console)
TCP
8880 – 8882
Ingress
Hotspot portal redirection (HTTP)
TCP
8843
Ingress
Hotspot portal redirection (HTTPS)
TCP
8444
Ingress
Secure Portal for Hotspot
TCP
6789
Ingress
UniFi mobile speed test
TCP
27117
Ingress
Local database communication
TCP
28082
Ingress
Device packet capture and support file downloads
UDP
10001
Ingress
Device discovery during adoption
UDP
10101
Ingress
Client fingerprinting information
UDP
1900
Ingress
L2 discovery (“Make application discoverable on L2 network”)
UDP
5514
Ingress
Remote syslog capture
TCP/UDP
22
Both
SSH access (manual management, not used by default)
TCP
443
Both
Application GUI/API access via web browser (also required for Remote Management)
UDP
20100-22100
Both
Site Magic SD-WAN tunnel port range (if all ports are in use, it will then try another free port above 20000, then try above/below this range).