UniFi - Ports Used


Overview


This article lists the ports used by the UniFi Controller. To learn how to change ports please see this article: UniFi - Change Default Ports for Controller and UAPs.


Ports Used


By default, the UniFi controller will operate on the following ports:

TCP or UDP

Port Number

Usage

UDP 3478 Port used for STUN.
TCP 8080 Port used for device and controller communication.
TCP 8443 Port used for controller GUI/API as seen in web browser
TCP 8880 Port used for HTTP portal redirection.
TCP 8843 Port used for HTTPS portal redirection.
TCP 6789 Port used for UniFi mobile speedtest.
TCP 27117 Port used for local-bound database communication.
UDP 5656-5699 Ports used by AP-EDU broadcasting.
UDP 10001 Port used for AP discovery
UDP 1900 Port used for "Make controller discoverable on L2 network" in controller settings.

 

IMPORTANT: 
Only a small subset of these ports are required to be port forwarded, and only where remote UniFi devices will connect to your controller over the Internet.
  • TCP 8080: used for device/controller communication.
  • UDP 3478: STUN
  • TCP 8880 and 8843: if using Guest Portal from remote locations
  • TCP 8443: Only needed if remote management of the controller over the Internet is required. Enabling Cloud Access and accessing via unifi.ubnt.com instead does not require opening this port, and is safer since no direct Internet access is permitted to your controller's management.
  • TCP 6789: TCP port used for UniFi mobile speedtest

Related Articles


UniFi - Change Default Ports for Controller and UAPs