UniFi - Which ports you should allow outbound to a cloud controller?

What ports should be allowed in order for UniFi to work?

Alex Lowe

Last updated: October 9, 2026

In most cases, there is no need to allow any ports through the firewall. However, if you have a firewall that is restricting outbound traffic, you'll need to open the following ports outbound to your controller IP address:

If you want fast and reliable UniFi hosting, check out HostiFi with expert support, regular backups, managed updates and prices from $19 per month.

To learn more about our hosting plans, create an account or book a free demo to get started.
  • UDP 3478 (Used for STUN)
  • TCP 8080 (Used for device and controller communication)
  • TCP 8443 (Used for controller GUI/API as seen in a web browser)
  • TCP 8880 (Used for HTTP portal redirection)
  • TCP 8843 (Used for HTTPS portal redirection)
  • TCP 6789 (Used for UniFi mobile speed test)

Video

About HostiFi

HostiFi provides hosting for Ubiquiti software platforms, with servers for UniFi and UISP. We also offer network consulting, with HostiFi Professional Services.

Get the Ubiquiti Top 20

Each month our team sifts through Ubiquiti news and content from around the web and delivers 20 of our favorite links to your inbox.

View recent issues

No spam. Unsubscribe anytime.

🤩

Discovered 3+ things that I did not know and will have a material impact on my business.

Newsletter Subscriber

🤩

All the info I want/need in a single clean thread! Perfect!

Newsletter Subscriber

🤩

Providing super valuable information to keep the community in the know. Awesome links page, Thank You.

Newsletter Subscriber