Search the VMware Knowledge Base (KB)
View by Article ID

Port already in use when installing VMware vCenter Server (4824652)

  • 43 Ratings

Details



After verifying the the availability of TCP/UDP ports during vCenter Server configuration:
  • When the vCenter Server Web service is installed and one of the selected ports is in use, you see this error:

    Invalid Virtual Infrastructure Web Service https port number or TCP/IP port in use

  • In the vpxd.log file on vCenter Server, you may see one of these error messages:

    • Failed to create https proxy: An attempt was made to access a socket in a way forbidden by its access permissions.
    • [VpxdReverseProxy] Failed to create http proxy: An attempt was made to access a socket in a way forbidden by its access permissions
    • [VpxdReverseProxy] Failed to create http proxy: Resource is already in use: 0.0.0.0:80


Solution

This error is seen when another service is already listening on the configured TCP/UDP port on the Microsoft Windows system where VMware vCenter Server is installed. By default, vCenter Server uses ports 80 and 443.

  1. Determine the service listening on the configured port. For more information on determining TCP/UDP port usage, see Determining if a port is in use (1003971).

    Note: For more information, see examples of common services on these ports in the additional information section.

  2. If the conflicting service cannot be stopped or disabled, configure vCenter Server to use different ports. For more information about VMware application TCP/UDP port usage, see TCP and UDP Ports required to access VMware vCenter Server, VMware ESXi and ESX hosts, and other network components (1012382).

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 the Microsoft Knowledge Base article 321141.
  • World Wide Web Publishing Services (W3SVC) – For more information, see the Microsoft Knowledge Base article IIS World Wide Web Publishing Service (W3SVC).
  • BranchCache Service – For more information see the Microsoft Knowledge Base article, BranchCache Overview.
  • Microsoft SQL Server Reporting Service (SSRS) and SQL Analysis service – For more information, see the Microsoft Knowledge Base article Install Reporting Services and Internet Information Services Side-by-Side.
  • Routing and Remote Access service (RRAS) – For more information, see the Microsoft Knowledge Base article Routing and Remote Access Service.

    Note: Ensure that this service is not running on vCenter Server.

  • Microsoft Secure Socket Tunneling Protocol (SSTP) – Check that this service is not enabled automatically through group policies.
  • Microsoft Web Deployment Agent Service (MsDepSvc) - For more information, see Web Deployment Tool Installation.

    Note: The preceding link was correct as of April 2, 2014. If you find a link is broken, provide feedback and a VMware employee will update the link.
For translated versions of this article, see:

Tags

port-in-use virtualcenter-web-service check-ports

This Article Replaces

1021357

Update History

10/12/2011 - Added link to the Microsoft Technet article on Web Deployment Tool Installation 01/17/2012 - Added vCenter Server 5.0 to Product Versions 09/26/2012 - Added vCenter Server 5.1 to Product Versions 10/25/2012 - Added to verify if the SSRS service is not running in vCenter Server 03/10/214 - Added vCenter Server 5.5 to Product Versions 06/30/2015 - Added VMware vCenter Server 6.0.x to the product list.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 43 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 43 Ratings
Actions
KB: