Unable to connect to the MKS: Failed to connect to server (IP Address):902

This morning I was finalizing the my vCenter Appliance configuration and realized that something stopped working. For some reason, I could not open the console of a VM using vCenter.

mksIf I were to login directly on host, then I would have no issues opening the console of the VM. I started looking around the on the web as to what it could be, some suggestions implied to make sure and have ports TCP 902/903 open. In my case, I knew they were open since this is in my lab and I don’t have anything out of the ordinary configured to block those ports. But to be sure, I tested this theory. I went a head and tried telneting on to the ESXi host on port 902

mks2As you can see in the image above,  was able to successfully telnet on port 902. Once I’ve gotten that out of the way, I was able to rule out the “port rule blocking” in my lab. Then I realized something. Unlike before, when I added my host to vCenter, I used a DNS name, rather than an IP. Because my management PC is not on the domain and doesn’t have the right DNS server settings configured for that domain, I could not ping the host by name. So to get around that, I added two entries in the hosts file so that I could resolve the host IP using its name.

mks3

I then went back to vCenter and tried launching the console again. At this point I was able to successfully open. DNS plays an important part in vCenter and it is important to make sure we have it setup correctly or else we can experience issues that otherwise can be avoided.

Andrey Pogosyan

Andrey Pogosyan is a Virtualization Architect who’s focus is on infrastructure virtualization involving mainly VMware and Citrix products. Having worked in the IT industry for 10+ years, Andrey has had the opportunity to fulfill many different roles ranging from Desktop Support and all the way up to Architecture and Implementation. Most recently, Andrey has taken a great interest in the datacenter technology stack encompassing Virtualization, mainly VMware vSphere\View, Citrix XenApp\XenDesktop and Storage (EMC, HP, NetApp).

5 Responses

  1. Nice post, thanks for the tip.

  2. max says:

    great article.. saved my day
    Thank you!

  3. mark says:

    Spot on, thanks

Leave a Reply