Resolve “The specified main port is already in use” error during Commander installation
While installing Commander, you may encounter the error message The specified main port is already in use on the Port Configuration page of the installation wizard. This occurs when the installer cannot open the designated port because it is already being used by another application.
This issue typically arises when another service, such as Internet Information Services (IIS), is using port 443. To identify and resolve the conflict, follow these steps:
-
Open a command prompt and run the following command to identify which application is using the port:
In the result, check the list of processes bound to the port. For example,netstat -aobtomcat7.exemay appear on TCP port 443. -
If another application is using the port, you have two options:
- Change the Commander port from 443 to another unoccupied port. (Users must include the port in the URL when accessing Commander.)
- Install Commander on a different server dedicated to the application.
-
Alternatively, use a graphical tool such as TCPView to view applications using specific ports.
-
If you cannot identify the application using the port, verify that the hostname resolves to the correct IP address:
- Run the following command on the application server:
Replace hostname with the name of the Commander application server.nslookup hostname - Then run:
Replace xxx.xxx.xxx.xxx with the IP address returned from the nslookup command.ping -a xxx.xxx.xxx.xxx
- Run the following command on the application server:
-
If there is a mismatch between the hostname and IP address resolution, update DNS records on the Domain Controller or adjust the hosts file on the Commander application server.
Outcome
The installer will no longer encounter any port conflicts, and the Commander installation can proceed successfully.
Was this helpful?
© 2026 Flexera. All rights reserved.