To resolve this issue, ensure that there is no other software using this port or change the port that Tomcat is using.
Note: If you change the default Tomcat port, you may experience issues with the Performance charts and Hardware Status and Health Status tabs in vCenter Server.
To determine what application may be using the default port 8005 or 8003:
- From the vCenter Server, open a command prompt and run this command:
netstat -anob | find /N "defaultPort"
Note: Where defaultPort is the default Tomcat port for your version of vCenter Server.
- Make a note of the PID (last column).
- Go to Task Manager > View > Select Columns, select PID, then click OK.
- Search Windows Task Manager for the PID that you noted from the netstat</u> command.
- If you see an application with port 8005 or 8003, select and click End Process.
- Start the Web Access Service and monitor.
If the service still fails, change the port that Tomcat is using for vCenter Server 2.5, 4.x and 5.0:
- Open the Tomcat server.xml file:
- vCenter Server 2.5: C:\Program Files\VMware\Infrastructure\VirtualCenter Server\tomcat\conf\server.xml
- vCenter Server 4.x and 5.0: C:\Program Files\VMware\Infrastructure\tomcat\conf\server.xml
- Change the entry for the port from:
<Server port="8005" shutdown="SHUTDOWN">
to:
<Server port="8006" shutdown="SHUTDOWN">
For vCenter Server 5.1 and 5.5:
- Open the Tomcat catalina.properties file from:
- vCenter Server 5.1 and 5.5: C:\Program Files\VMware\Infrastructure\tomcat\conf\catalina.properties
- Change the entry for the port from:
base.shutdown.port=8003
to:
base.shutdown.port=8004