Failed to create server shutdown socket on address [localhost] and port [8005] (base port [8005] and offset [0])

Failed to create server shutdown socket on address [localhost] and port [8005] (base port [8005] and offset [0])

ERROR:

02-Aug-2020 22:45:14.190 SEVERE [main] org.apache.catalina.core.StandardServer.await Failed to create server shutdown socket on address [localhost] and port [8005] (base port [8005] and offset [0])

 java.net.BindException: Address already in use: JVM_Bind

This means that the port 8005 is already busy.

Resolution:

Could you please try re-installing the service. Follow the below steps to do this:

  • Go to tomcat path using command prompt [apache-tomcat-9.0.0.M8\bin]
  • Fire command service.bat uninstall
  • Once done, from same path fire command service.bat install

For stopping tomcat services please follow below steps:

These are some commands and instructions for reference:


1.Get the PID from this cmd:  Netstat –ano | findstr “port_no”

2. Then, go to the task-manager-->services and search for the this PID
3. Get the application details as well as which user from this machine has consumed this port_no

·         >sc queryex "service_name"


4.To kill the process assigned to PID: taskkill /F /PID 

Reference:

https://community.automationedge.com/t/failed-to-start-tomcat-service/1862

https://community.automationedge.com/t/knowledge-article-automationedge-release-5-5-0-and-the-recommended-tomcat-version/2226



      Links to better reach 

            Bot Store

             EPD