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

VMware vCenter Server IP address change causes VMware ESX hosts to disconnect (1001493)

  • 45 Ratings


After changing the IP of vCenter Server, all ESXi/ESX hosts are showing as disconnected from VMware Infrastructure/vSphere Client.


Note: Before you begin, see Restarting the Management agents on an ESX Server (1003490) for important information on restarting the mgmt-vmware service.

The ESXi/ESX hosts disconnect because they store the IP address of the vCenter Server in configuration files on each of the individual servers. This incorrect address continues to be used for heartbeat packets to vCenter Server.

There are two methods to get the ESXi/ESX hosts connected again. Try each one in the order specified, testing your results each time.

Before performing either method, ensure that the Managed IP Address of the vCenter Server is updated to reflect the new IP address being used. For more information, see Verifying the vCenter Server Managed IP Address (1008030).

Method 1
  1. Log in as root to the ESXi/ESX host with an SSH client. For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
  2. Open the /etc/opt/vmware/vpxa/vpxa.cfg file using a text editor and change the serverIp parameter to the new IP of the vCenter Server.

    ESXi 5.x/6.0: The vpxa.cfg file is located at /etc/vmware/vpxa/vpxa.cfg.

  3. Save your changes and exit.
  4. Restart the management agents on the ESXi/ESX. For more information, see Restarting the Management agents on an ESX Server (1003490).
  5. Restart the VMware VirtualCenter Server service. For more information, see Stopping, starting, or restarting the vCenter Server service (1003895).

Method 2
  1. From the vSphere Client, right-click the ESXi/ESX host and click Disconnect.
  2. From the vSphere Client, right-click the ESXi/ESX host and click Reconnect. If the IP is still not correct, go to step 3.
  3. From the vSphere Client, right-click the ESXi/ESX host and click Remove.

    Caution: After removing the host from vCenter Server, all the performance data for the virtual machines and the performance data for the host is lost.

  4. Reinstall the VMware vCenter Server agent. For more information, see Verifying and reinstalling the correct version of VMware VirtualCenter Server agent (1003714).
  5. Click New > Add Host.
  6. Enter the information used for connecting to the host.
For related information, see Changing the IP address, default gateway, and hostname of the Service Console in ESX (4309499) and Verifying the VirtualCenter Managed IP Address (1008030).

Additional Information

For translated versions of this article, see:


esx-host-disconnected  esx-host-disconnected-from-vc

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.


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