Friday 30 December 2011

Unable to connect to the MKS: Failed to connect to server

# Configure your firewall to allow communications between the ESX/ESXi host and the workstation running vSphere Client using port 903. For more information, see Testing port connectivity with Telnet (1003487).

If port 903 is not open or cannot be opened in your environment, enable the vmauthd proxy. This forces remote console communication to be sent on port 902 on the Service Console, instead of 903.

Note: By enabling this setting there may be degradation in the performance under heavy usage while communicating to the ESX host service console.

To enable the proxy:

  1. Log in to the ESX host's service console as root.
  2. Open /etc/vmware/config using a text editor.
  3. Add this line to the file:

    vmauthd.server.alwaysProxy = "TRUE"

  4. In ESX, run this command to restart xinetd:

    service xinetd restart

command to check whether it is a virtual machine or physical machine

In RHEL below command can be used to check whether it is a virtual machine or physical machine

# dmidecode | less
# lspci | less