Clarity port conflict - determine what is using the port
search cancel

Clarity port conflict - determine what is using the port

book

Article ID: 51627

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

When logging into the Clarity application you may receive the following error:

  LifecycleException: 
service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:80

This error indicates that another application is currently using Port 80 and therefore Tomcat is unable to launch.

Environment

Release:Any

Resolution

Please follow these steps to determine which application is currently using Port 80 on the Clarity Application Server.

    1. Start--> Run--> type cmd to open a command shell window.
    2. Type the following command: netstat -o -n -a | findstr 0.0:80 and press enter.
    3. The results of this command will identify the application that is currently using the port.
  Sample Output:
 
   TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       208
   TCP    0.0.0.0:8009           0.0.0.0:0              LISTENING       208
   TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       2404
  1. The last column will indicate the Process ID that is currently using the port.
  2. Make a note of the Process ID.
  3. Press Ctrl-Alt-Del and select Task Manager.
  4. Click on the 'View' tab and click on 'Select Columns'.
  5. Place a check mark in 'PID' (Process Identifier).
  6. Click OK.
  7. Click on the PID column to sort the rows in numerical order.
  8. Search for the PID that you recorded in step 5.
  9. This is the application that is currently using the port.

Please Note the 'netstat -o -n -a | findstr 0.0:80' command can check for applications using SSL by changing the 80 to 443 or the appropriate port number.

Additional Information

Also see Clarity service error Address already in use (Bind failed)