Unifi Port 8080 Is Used By Other Programs Startup Failed Due

unifi error 'port 8080 is used by other programs'

Server failed to start for port 8080: Address already in use indicates that some other process on your machine has already bound itself to port 8080. I would guess this is an instance of Tomcat running either because you started it or it didn't get properly shutdown by whatever IDE you use. Unifi Controller on Google Cloud Platform (GCP): Ubiquity's Unifi Controller allows for web management of their Unifi products including wireless access points, routers, and switches. They have an excellent guide for setting up the controller on Amazon AWS using the free tier that gives a free VM. Deployment error: Starting of Tomcat failed, the server port 8080 is already in use.

Unifi Port 8080 Is Used By Other Programs Startup Failed Due Date

Solution 1:

Run UniFi Controller on different ports

  1. By default, UniFi controller runs on these ports
    • unifi.shutdown.port=8081 (for management purpose)
    • unifi.http.port=8080 (device inform)
    • unifi.https.port=8443 (controller UI / API)
    • portal.http.port=8880 (portal redirect port for HTTP)
    • portal.https.port=8843 (portal redirect port for HTTPs)
    • unifi.db.port=27117 (local-bound port for DB server)
  2. Follow these steps to change the default settings
    • Make sure UniFi is not running
    • modify <unifi_base>/data/system.properties and make sure all ports needed by UniFi are available
    • restart UniFi

NOTE: “system.properties” can be found at c:drive>user folder>Ubiquiti UniFidata (windows7)

Unifi Port 8080 Is Used By Other Programs Startup Failed Due Insufficient

Failed

Right click System.properties and edit with notepad and change port 8080 to something not being used.

Solution 2:

Open command prompt and Run as administrator

Type netstat -ano , verify PID using 8080 port

Unifi Port 8080 Is Used By Other Programs Startup Failed Due

open task manager select process tab to find PID (to enable PID column in task manager click on View>select column >select PID)

Unifi Controller Error Port 8080 Is Used By Other Programs

Once you find process using port 8080, go ahead and “end” the process and restart unifi controller.

Unifi Port 8080 Is Used By Other Programs Startup Failed Due Diligence