Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
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
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.
-
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.
-
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).
-
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).
-
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)
- 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).
-
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.
-
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:
-
Gather the VMware Support Script Data. For more information, see Collecting diagnostic information in a VMware Virtual Infrastructure Environment (1003689).
-
File a support request with VMware Support and note this KB Article ID in the problem description. For more information, see How to Submit a Support Request.
Tags
See Also
- Testing network connectivity with the ping command
- Testing port connectivity with Telnet
- Collecting diagnostic information in a VMware Virtual Infrastructure Environment
- Troubleshooting permissions errors when connecting to vCenter Server with the vSphere Client
- Stopping, starting, or restarting vCenter services
- TCP and UDP Ports required to access vCenter Server, ESX hosts, and other network components
Update History
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.
Actions
- KB Article:
- Updated:
- Categories:
- Product Family:
- Products:
- Product Versions:

