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

Logging in to the vCenter Server 5.0 Web Client fails with the error: unable to connect to vCenter Inventory Service (2017750)

  • 20 Ratings


After upgrading from vCenter Server 4.1 to 5.0, you experience these symptoms:

  • Cannot log in to the Web Client.
  • Logging in to the Web Client fails.
  • You see the error:

    unable to connect to vCenter Inventory Service - https://domain.local:10443

    : The URL specified should be

  • You are able to log in to vCenter Server.
  • You are unable to search from the vCenter Server.
  • When you log in to vCenter Server, the Health Status does not report an error.
  • In the ds.log file, located at C:\ProgramData\VMware\Infrastructure\Inventory Service\Logs\, you see the error:

    Error connecting to peer: https://vCenter.domain.local:10443 reason: org.apache.http.conn.HttpHostConnectException: Connection to https://vCenter.domain.local:10443 refused


To work around this issue, reset the vCenter Server Inventory database.

To reset the vCenter Server Inventory database: 
  1. Click Start > Run, type services. msc, and click OK. The Services window opens.
  2. Right-click vCenter Inventory Service and click Stop.
  3. Click Start > Run, type cmd.exe, and click OK. The Command Prompt window opens.
  4. Rename or move the contents of the Inventory Service data directory. 

    Note: The location of the Inventory Service directory is specified during the vCenter Server installation. The default location is C:\Program Files\VMware\Infrastructure\Inventory Service\data.

  5. Change directory to the Inventory Service scripts directory. For example, if you have installed vCenter Inventory Service in the default location, run the command:

    cd C:\Program Files\VMware\Infrastructure\Inventory Service\scripts

  6. To reset the vCenter Inventory Service database, run the command:


  7. To update the stored configuration information of the Inventory Service, run the command:

    register.bat current_vCenter_Server_FQDNvCenter_Server_HTTPS_port

    For example:

    register.bat 443

  8. Restart the vCenter Inventory Service.

    Note: To restart the service, in the Services window, right-click vCenter Inventory Service and click Start.

For more information on Resetting the vCenter Inventory Service Database, see the vSphere 5 Documentation Center.

If you are unable to reset the vCenter Inventory Service, see Inventory Service fails with the error: XhiveException: IO_ERROR (2017370).

Note: For related issue concerning the Hardware Status Tab and vCenter Inventory search failing, see also Hardware Status Tab reports the message: No new host data available. Data will be updated in 5 minutes. vCenter Inventory search fails (2011871)

Additional Information

For translated versions of this article, see:

Update History

06/12/2013 - Added symptom, unable to search from vCenter Server.

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.


  • 20 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.
  • 20 Ratings