Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Diagnosing the vSphere Client when it fails to connect to vCenter Server

Symptoms

  • VMware Infrastructure/vSphere Client fails to connect to VirtualCenter/vCenter Server
  • You may receive these errors:
    • Login failed due to bad username or password
    • VMware Infrastructure Client could not establish a connection with server "<server>". Details: You do not have permission to login to the server: <server> 
    • vSphere Client could not connect with the vCenter Server "servername". Details: The server took too long to respond. (The operation has timed out)\
    • Unable to connect to vCenter Server from remote machine. Details: vSphere client could not connect to vCenter.
    • A connection failure occured. Details: Unable to connect to the remote server

Purpose

This article guides you through the process of troubleshooting a situation where you are unable to connect to vCenter Server from the vSphere Client. This article aims to help you eliminate the common causes for your problem by verifying network connectivity, authentication, and permissions.

Resolution

Validate that each troubleshooting step below is true for your environment. Each step provides instructions or a link to a document, in order to eliminate possible causes and take corrective action as necessary. The steps are ordered in the most appropriate sequence to isolate the issue and identify the proper resolution. Please do not skip a step.
 
Note: If you perform a corrective action in any of the following steps, attempt reconnecting to vCenter Server again with vSphere Client.
  1. Verify that you are connecting to the correct hostname or IP address for your vCenter Server. A common reason that connections fail is due to incorrect server information may make the problem seem more complex. Correct any incorrect names, and try connecting to vCenter Server again.

  2. Verify that network connectivity exists from the Client computer to the vCenter Server. For more information, see Testing network connectivity with the ping command (1003486).

  3. Verify that the VMware VirtualCenter Server Service has not stopped. To do this open the Microsoft Services control and check the status of the service. For more information on starting the vCenter service if it has stopped, see Stopping, starting, or restarting vCenter services (1003895).

  4. Verify that you can connect from the vCenter Server to the ESX host on port 902 (If the ESX Server was upgraded from version 2.x and you cannot connect on port 902, verify if you can connect on port 905). By default, an ESX host listens on port 902 and therefore if the previous steps are all correct it most commonly means that a physical firewall is blocking connectivity on port 902. For more information, see. Testing port connectivity with Telnet (1003487)

  5. Verify that you can connect to the vCenter Server on port 443 to confirm if a firewall is configured to allow traffic on this port. For more information, see Testing port connectivity with Telnet (1003487). For a complete list of ports, required by vCenter, see TCP and UDP Ports required to access vCenter Server, ESX hosts, and other network components (1012382).

  6. Verify that the you are connecting with the proper username and password. Often an incorrect username or password has been specified causing the log on failure to occur. The error message, Login failed due to a bad username or password as shown below is displayed.



  7. Verify that the configured permissions for the account are sufficient to allow for the user to log in to the vCenter Server. For more information, see Troubleshooting permissions errors when connecting to vCenter Server with the vSphere Client (1003872).

Note: If your problem still exists after trying the steps in this article, please:

Tags

vcenter-server virtual-infrastructure/vsphere

See Also

Update History

22/2/11 - Update to add step 5- 443 port check.

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


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)
Actions