Starting the VMware Virtual Center Server service fails with error: "Failed to create Secure WebService socket: class Vmacore: SystemException"
book
Article ID: 344308
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
The VirtualCenter Server service starts, then stops after 2 minutes
You cannot start the VirtualCenter Server service
You see entries similar to:
[11:15:15.444 03464 error 'App'] [VpxVmomi] Failed to create Secure WebService socket: class Vmacore::SystemException(An attempt was made to access a socket in a way forbidden by its access permissions. ) [11:15:15.444 03464 error 'App'] [VpxdVmomi] Failed to start VMOMI services: An attempt was made to access a socket in a way forbidden by its access permissions. [11:15:15.444 03464 info 'App'] Shutting down VMware VirtualCenter...
Environment
VMware vCenter Server 6.7.x
VMware vCenter Server 5.5.x
VMware vCenter Server 6.5.x
VMware vCenter Server 6.0.x
VMware vCenter Server 5.1.x
VMware vCenter Server 5.0.x
VMware vCenter Server 4.1.x
Cause
This issue occurs when another application is listening on port 80 and/or port 8089. These applications can include, but are not limited to, antivirus software, backup and recovery software, forwarders, or IIS.
Resolution
From the Windows command prompt, run this command to edit the ports.txt file:
netstat -abn > C:\ports.txt
Search this file and locate the application(s) that use Port 8089 and/or Port 80.
Stop the application service. Note: If this application must run on the server, change the default port number of the application.
Stop IIS if it is being used in the vCenter Server machine.
To stop IIS:
Click Start > Run.
Type inetmgr Stop IIS.
Click OK.
Momentarily disable any antivirus software running on the vCenter Server machine to confirm if it resolves the issue.
Start the VMware VirtualCenter Server service.
Note: When a full version of Microsoft SQL Server is installed on vCenter Server, you may need to stop the SQL Server Reporting Services for the VMware VirtualCenter Server service to start successfully. For more information about the ports used by SQL Server Reporting, see Configure a Firewall for Report Server Access.
Additional Information
Examples of common services on these ports include:
Microsoft Internet Information Services (IIS) – If you do not want the IIS functionality, stop and disable the IIS Administration and World Wide Web Publishing Services. For more information, see Install IIS 8.5 using the Server Manager.
The HP Store Virtual Recovery manager OLU service listens on port 8085 and will need to be stopped.
The Windows Remote Management Service (WS-Management) service listens on port 80 by default and is installed as part of Windows PowerShell. If this service is installed and running, make sure it is not using the default port. For more information, see Installation and Configuration for Windows Remote Management.