TechBuzzPro

UniFi App Won't Connect to Controller: Fix Guide

· 6 min read · Gaming

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your UniFi mobile app (iOS or Android) says it can't connect to your controller, the quickest fix is usually to check that your phone and controller are on the same network, then force-close the app and reopen it. If that doesn't work, verify the controller's IP address and port, and make sure the controller is actually running. Below is a step-by-step guide to get you connected.

What You'll Need

  • Your UniFi controller's IP address (e.g., 192.168.1.10) and port (default is 8443 for the web UI, but the app uses the same)
  • Access to the device running the controller (to check if it's running)
  • Your UniFi account username and password (the one you use to log into the controller)
  • Your phone's Wi-Fi settings (to confirm you're on the right network)

Step-by-Step

  1. Check your network connection. Make sure your phone is on the same local network as the controller. If the controller is on a different VLAN or subnet, the app may not find it automatically. For a local controller, both should be on the same Wi-Fi or LAN.
  2. Force-close the UniFi app. On iPhone: swipe up from the bottom and pause, then swipe the UniFi app card away. On Android: open the recent apps screen and swipe the app away. Then reopen the app.
  3. Verify the controller is running. If the controller is on a PC or a cloud key, make sure the controller software is actually running. On a PC, look for the UniFi controller icon in the system tray (Windows) or menu bar (Mac). On a Cloud Key, check the LCD or web status page.
  4. Try connecting via IP address. In the UniFi app, tap the "+" or "Add" button (usually top-right). Choose "Connect to a controller" or "Add manually." Enter the controller's IP address and port (e.g., 192.168.1.10:8443). Leave the port as 8443 unless you changed it. Then enter your username and password.
  5. Check the port. If you changed the controller's port during setup, the app needs that exact port. The default is 8443 for the web UI and the app uses the same. If you're not sure, check your controller's settings file (usually system.properties) for unifi.https.port.
  6. Confirm the controller's IP address. On the controller machine, open a command prompt (Windows) or terminal (Mac/Linux) and type ipconfig (Windows) or ifconfig (Mac/Linux). Look for the IPv4 address of the active network adapter. That's the IP to use in the app.
  7. Restart the controller. On a PC, right-click the UniFi controller icon and choose "Exit" or "Stop," then restart it. On a Cloud Key, reboot it from its touchscreen or web interface. Wait 2-3 minutes for it to fully start.
  8. Restart your phone. A simple phone restart can clear network cache issues. After restarting, re-open the UniFi app.
  9. Update the UniFi app. Go to the App Store (iOS) or Google Play Store (Android), search for "UniFi," and check if an update is available. Install it if there is one.
  10. Check for firewall or antivirus blocks. On the controller machine, temporarily disable Windows Defender Firewall or any third-party firewall/antivirus to see if that fixes it. If it does, re-enable and add an exception for port 8443 (and 8080 if you use inform).

Common Mistakes

  • Using the wrong IP address. You might be entering the controller's public IP or a different device's IP. Use the local IP of the controller machine.
  • Forgetting the port. The app requires the port even if you're on the same network. Always include :8443 unless you changed it.
  • Being on a different network. If your phone is on cellular data or a guest Wi-Fi, it won't find a local controller. Switch to the same Wi-Fi as the controller.
  • Controller not fully started. After a reboot, the controller can take several minutes to be ready. Wait and try again.
  • Using the wrong login. The app uses the controller's admin account, not your Ubiquiti SSO account (unless you've linked them). Use the local admin credentials.

Tips

  • If you frequently connect to a remote controller, set up a site-to-site VPN or use UniFi's official remote access feature (if your controller supports it) instead of port forwarding.
  • Write down your controller's IP and port somewhere handy. You'll need them for reconnection.
  • Keep both the app and the controller firmware updated to avoid compatibility issues.
  • If you have multiple controllers, name them clearly in the app so you don't try to connect to the wrong one.
  • On Android, check that the app has permission to access the local network. Go to Settings > Apps > UniFi > Permissions and enable "Nearby devices" or "Local network" if prompted.

Troubleshooting

If the steps above haven't worked, try these in order:

  1. Check if the controller is accessible from your phone's browser. Open Safari or Chrome on your phone and go to https://:8443. If you get a security warning, proceed anyway. If the page loads, the controller is reachable; if not, the problem is network-level.
  2. Try a different device. Install the UniFi app on another phone or tablet and try to connect. If it works, the issue is with your original device.
  3. Clear the app's cache (Android). Go to Settings > Apps > UniFi > Storage > Clear Cache. This won't delete your saved sites, but it will reset the app's temporary data.
  4. Reinstall the app. Delete the UniFi app and reinstall it from the official app store. This resets all app settings and saved controllers. You'll need to re-enter your controller details.
  5. Check the controller's logs. On the controller machine, look at the UniFi controller logs (usually in /usr/lib/unifi/logs on Linux, or the install directory on Windows) for any errors related to authentication or connection.
  6. If you're using a UniFi Cloud Key or Dream Machine, try accessing it via its web interface (e.g., https://192.168.1.1:8443) and check the system status. Reboot it from there if needed.

Frequently Asked Questions

Why does the UniFi app say "Unable to connect" even though I'm on the same Wi-Fi?

This usually means the controller isn't running, the IP/port is wrong, or a firewall is blocking port 8443. Verify the controller is up and try connecting via IP address manually.

Can I use the UniFi app over the internet without a VPN?

Yes, but you need to set up port forwarding on your router to the controller's IP and port 8443, or use UniFi's official remote access feature (if your controller supports it). This is less secure than a VPN, so use strong passwords.

What port does the UniFi app use to connect?

By default, it uses TCP port 8443 for the web UI and the app. If you changed it, you must enter the custom port in the app.

I forgot my controller's IP address. How do I find it?

On the controller machine, run ipconfig (Windows) or ifconfig (Mac/Linux) and look for the IPv4 address. Alternatively, if you have a Cloud Key, check its LCD screen or use the UniFi Network app in "Discover" mode to find it.

Why does the app work on my computer but not on my phone?

Your phone might be on a different network (e.g., cellular data), or the phone's local network permissions are disabled. Check your Wi-Fi connection and app permissions.

Do I need to be on the same subnet to connect?

Not necessarily, but it's easier. If the controller is on a different subnet, you may need to configure routing or use a VPN. The app can connect across subnets if the IP is reachable and the port is open.