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.
By default, the UniFi controller will operate on the following ports:
TCP or UDP
|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 a 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 speed test.|
|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.|
- 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
NOTE: Although TCP 22 is not one of the ports the UniFi Controller operates on by default, it is worth mentioning in this article since it is the port used when UniFi devices or the controller is accessed via SSH.