TechBuzzPro

UniFi Controller Install & Setup 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

This guide walks you through installing and configuring the UniFi Controller software (now called UniFi Network Server) on your own computer or server. This software lets you manage UniFi access points, switches, and gateways from one dashboard — think of it as the brain of your UniFi network. Before starting, make sure you have a UniFi device (like an AP or switch) and a computer that meets the minimum requirements: 64-bit OS (Windows, macOS, or Linux), 4GB+ RAM, and 20GB free disk space. You'll also need Java 8 or newer (the installer usually bundles it).

What You'll Need

  • A UniFi device (access point, switch, or gateway) — the software won't do much without one.
  • A computer or server that runs 24/7 (or at least when you need to manage the network).
  • Admin access to that computer (to install software).
  • An internet connection for the initial download and for firmware updates.

Step-by-Step

  1. Download the software. Go to the official Ubiquiti website (ui.com) and navigate to the UniFi Network Server download page. Choose the installer for your operating system (Windows, macOS, or Linux). Make sure you download from the official source only.
  2. Run the installer. On Windows, double-click the .exe file and follow the prompts. On macOS, open the .dmg and drag the app to Applications. On Linux, you'll typically use a package manager (like apt for Debian/Ubuntu) or run the provided script. The installer will set up the software and may install Java if needed.
  3. Start the UniFi Network Server. After installation, launch the application. On Windows, it runs as a service in the background; on macOS, it's an app you open. On Linux, it may start automatically as a systemd service.
  4. Access the web interface. Open a web browser on the same computer and go to https://localhost:8443 (or https://127.0.0.1:8443). You'll see a security warning because the self-signed certificate isn't trusted — click "Advanced" and proceed anyway.
  5. Create an admin account. On the first screen, enter a name and a strong password for the admin user. This is the account you'll use to log in to the controller.
  6. Adopt your UniFi devices. Plug in your UniFi access point or switch to your network (via PoE if needed). The controller should automatically detect it. On the dashboard, you'll see a "Devices" section with a pending adoption. Click "Adopt" next to the device. If it doesn't appear, see Troubleshooting below.
  7. Configure your network settings. Go to Settings > Networks. You'll see a default LAN network. Edit it to set your desired subnet, DHCP range, and gateway IP. For most home users, the defaults are fine, but you can change the subnet to something like 192.168.1.0/24.
  8. Set up Wi-Fi. Go to Settings > Wi-Fi. Click "Create New" to add a wireless network. Give it a name (SSID) and a password. Choose the security type (WPA2 or WPA3 are recommended). Apply the settings.
  9. Update firmware. After adoption, go to Devices, click on your device, and check for firmware updates. Install them to ensure stability and security.
  10. Enable remote access (optional). If you want to manage your network from anywhere, go to Settings > System > Remote Access and sign in with a Ubiquiti account. This allows you to access the controller via the UniFi portal or mobile app.

Common Mistakes

  • Using the wrong IP address. The controller runs on port 8443, not 8080 (that's for device communication). Always use https://localhost:8443.
  • Adopting devices on a different subnet. The controller and the device must be on the same Layer 2 network (same VLAN/subnet) for adoption to work. If you have VLANs, make sure the management VLAN is reachable.
  • Forgetting to update Java. Older versions of the controller require Java 8. If you get Java errors, install the correct version or use the bundled JRE.
  • Not opening the firewall port. If you're accessing the controller remotely, you need to forward port 8443 (HTTPS) and 8080 (HTTP for device adoption) on your router. But for local use, this isn't needed.
  • Using a weak password. The admin password protects your entire network. Use a long, unique passphrase.

Tips

  • Run the controller on a dedicated device (like a Raspberry Pi or a small PC) that stays on 24/7. This ensures your network keeps working even if your main computer is off.
  • Back up your controller settings regularly. Go to Settings > System > Backup to download a backup file. This saves your network config, so you can restore it if needed.
  • Use the UniFi mobile app for quick setup. The app can scan a QR code on the device and guide you through adoption and basic setup.
  • If you have multiple UniFi devices, adopt them one at a time to avoid confusion.
  • Keep the controller software updated to get the latest features and security fixes.

Troubleshooting

If something goes wrong, here's what to do, in order of simplicity:

  1. Check that the controller is running. On Windows, look for the UniFi service in Services (it should be running). On macOS, check the menu bar icon. On Linux, run systemctl status unifi.
  2. Verify the web interface is reachable. Try a different browser or clear your cache. Also try if localhost doesn't work.
  3. Devices not showing up? Make sure the device is powered on and connected to the same network as the controller. Try resetting the device (hold the reset button for 10 seconds) and then wait for it to appear again.
  4. Adoption fails? Check that the device is in factory default state. If it was previously adopted by another controller, you must reset it first. Also ensure that the controller's IP is reachable from the device — check your router's DHCP settings.
  5. If all else fails, reinstall. Uninstall the software (but keep your backup file), then reinstall the latest version. Restore your backup after reinstallation.

Frequently Asked Questions

Can I run the UniFi Controller on a Raspberry Pi?

Yes, Ubiquiti provides a package for Debian-based systems, including Raspberry Pi OS. It works well for small networks, but performance may be limited with many devices.

Do I need a cloud key or a UniFi gateway to use the controller?

No, the controller software is free and can run on your own hardware. You only need a UniFi access point or switch to manage. A UniFi gateway is optional but integrates nicely.

Is the UniFi Controller free?

Yes, the software is free to download and use. You only pay for the hardware.

Can I migrate from an existing controller to a new one?

Yes, you can export a backup from the old controller and restore it on the new one. The devices will need to be re-adopted, but the settings will carry over.

What port does the controller use?

The web interface uses HTTPS on port 8443. Device communication uses UDP 3478 (STUN) and TCP 8080 (inform). Make sure these are open if you have a firewall.

How do I update the controller software?

You can update through the web interface under Settings > System > Updates, or download the latest version from the website and run the installer. Your settings are preserved during updates.