EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485599: When attempting to start Tomcat 9.x, users receive the error ' java.net.BindException: Address already in use: NET_Bind” in MicroStrategy Web.


Katarzyna Olszewska

Senior Cloud Support Engineer III • MicroStrategy


Symptoms:
In the Catalina.out log, we see following error:

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: NET_Bind

Cause:

This is caused by  a port conflict - another process is using port 8005.
Action:
There are two ways to approach this issue. Either the other process or Tomcat needs to be configured to use a different port to resolve the conflict.

  1. Stop tomcat server, modify the shutdown port in server.xml (apache-tomcat\conf) file to a different one (e.g. 8006) and start the tomcat server.
ka04W000001IwDYQA0_0EM4W000005lR8U.png
  1. Identify which process is using port 8005 and stop it.  We can get the PID e.g. from following command: Netstat –ano | findstr “port_no”, then, navigate to the task-manager, services and search for the this PID. For instructions on how to modify the default service port, refer to product documentation of a specific vendor. Alternatively, there is a possibility that restarting the machine will free the port up.

 


Comment

0 comments

Details

Knowledge Article

Published:

July 25, 2022

Last Updated:

August 11, 2022