VMpros.nl
new1234.jpg
Home > VMware > VMware: VM Console error: Unable to connect to the MKS: Failed to connect to the server (1010828)

VMware: VM Console error: Unable to connect to the MKS: Failed to connect to the server (1010828)

“Unable to connect to the MKS: Failed to connect to the server 172.16.254.202:902” or “Unable to connect to the MKS: Failed to connect to the server no such host is known”

image

Solution:

To avoid losing access to the ESX host, perform the following steps:

1. Add the ESX server in your DNS

2. Edit your hostfile on the workstation (C:\Windows\System32\Drivers\etc\hosts\) and add your ESX server

 

After adding the ESX by DNS in my hostfile and restarted the VI Client I was able to open Console screen.

[ad#ad-banner]

Categories: VMware Tags: , , , ,
  1. avatar
    Ayuba
    October 1st, 2009  (Quote) at 07:34  (Quote) | #1

    VMPros:

    Could you please provide a more detailed work through of this? I’m having issues with this and the above instructions don’t seem to be getting me to far.

    Cheers

  2. December 18th, 2009  (Quote) at 10:15  (Quote) | #2

    Hello Ayuba,

    Updated my post, hope you can reconnect your Console with this solution!

  3. December 30th, 2009  (Quote) at 21:51  (Quote) | #3

    Great, stupid solution but it works :) thanks… !!

  4. January 26th, 2010  (Quote) at 16:50  (Quote) | #4

    Hey dude! This is not working for me. I added to the hosts file the container server and also one virtual machine (for which I tried to open the console) but nothing…

  5. avatar
    me
    April 22nd, 2010  (Quote) at 07:16  (Quote) | #5

    Same to me… i added to entry in the host file, but it doesn’t work

  6. July 9th, 2010  (Quote) at 11:37  (Quote) | #6

    Thank you soooo much for this solution, simple one

  7. August 29th, 2010  (Quote) at 13:15  (Quote) | #7

    Jay Transporter, Me: you need to add the FQDN in your hostfile how the ESX host is added in your vCenter. So if you added ESX01.VMpros.local to your VC you need to add ESX01.VMpros.local in your hosftfile, if you added only ESX01 as name in your VC you need to add ESX01

  8. September 21st, 2010  (Quote) at 22:03  (Quote) | #8
  9. avatar
    Luis Vidal
    February 10th, 2011  (Quote) at 06:46  (Quote) | #9

    Great tip, my friend. It solved my issues with this. Thanks.

  10. avatar
    thkdiff
    March 28th, 2011  (Quote) at 09:07  (Quote) | #10

    I think it’s caused by dns resolvation doesn’t work

  11. avatar
    Bilbo
    April 15th, 2011  (Quote) at 12:08  (Quote) | #11

    Hi,

    Would this fix also work for remote connections?
    I am connecting to an external IP which is then being port forwarded to the internal IP of the ESX server. I have added the hostname of the server to my local PC hosts file and it resolves to the external IP.

    But i still get the error above.

  12. April 28th, 2011  (Quote) at 18:49  (Quote) | #12

    I had this problem as well, could not communicate to ESX server. i had the right GateWay address in my V Sphere server but not on my ESX host.

    From client select your hosts –> configuration –> DNS & Routing (under software)—> Routing tab

  13. avatar
    Ashish Patel
    May 2nd, 2011  (Quote) at 16:42  (Quote) | #13

    make sure you can connect the esx server. ping it.. if you have to add any static route to reach it.. make sure your pc resolve esx server’s fqdn.

  14. avatar
    Thomas
    May 9th, 2011  (Quote) at 10:55  (Quote) | #14

    In my case everything was functional and the only problem was the black screen. Somehow the ESX host have lost the default gateway. After correctly config its works.

  15. avatar
    Ray
    June 25th, 2011  (Quote) at 04:11  (Quote) | #15

    That worked for me. My ESX somehow lost the default gateway. I re-added it and it is now happy. Thanks

    @Thomas

  16. avatar
    steve
    September 14th, 2011  (Quote) at 01:55  (Quote) | #16

    @sanderdaems

    How can you add an entry to the host file of a VM you can’t power up because you get the “Unable to connect to the MKS” message? : )

  17. October 21st, 2011  (Quote) at 07:15  (Quote) | #17

    Can’t beleive this was the issue! :) WORKS perfectly once entered in my local host file and once the ESX client is restarted for some reason before I did this only 1 of my three hosts was gicing me access to a console in the cluster after entered in the host file all console worked remotely thanks thanks thanks.

  18. avatar
    Bhuwan
    October 25th, 2011  (Quote) at 09:11  (Quote) | #18

    Try with rebooting host once .. In my case this resolved the issue .. Host lost it’s connectivity with Storage ..

  19. avatar
    FChrist
    October 28th, 2011  (Quote) at 14:28  (Quote) | #19

    Thank’s

    Good solution

  20. November 1st, 2011  (Quote) at 09:41  (Quote) | #20

    Just to share, i tried flushing the DNS in CMD with command below, and rerun the VI client. Worked like a charm!
    ipconfig /flushdns

  21. avatar
    Dieter
    November 18th, 2011  (Quote) at 01:02  (Quote) | #21

    Hey i have the same trouble but, i have already add to de domain and to de etd/hosts i think de problems is that mi vcenter is in the subnet 10.1.1.x the same form the host but the vcliente is in the 192.168.1.x there is a way to this ???? sorry about mi poor english thanks a lot men

  22. avatar
    Shakeel
    December 29th, 2011  (Quote) at 23:40  (Quote) | #22

    Dear Jack

    Thanx. A small entry in Default gateway was missing. Now problem resolved…. Once again thanx…
    From client select your hosts –> configuration –> DNS & Routing (under software)—> Routing tab

  23. avatar
    thangtd1
    February 20th, 2012  (Quote) at 04:29  (Quote) | #23

    From client select Configuration -> Advanced Settings -> Config -> Default -> security -> host
    uncheck Config.default.security.host
    hii ok.

  24. avatar
    Semih
    February 27th, 2012  (Quote) at 16:43  (Quote) | #24

    My VRMC opens in my windows7 laptop.

    But i cant use on Windows 8 DP

  25. avatar
    MG
    March 28th, 2012  (Quote) at 15:38  (Quote) | #25

    Have added the FQDN of the vCentre server name to the host file but does not work. However, we have 2 VC servers and I am able to connect to the console on one but not others. My colleagues do not have this issue even though client OS and VI client are the same.
    Any ideas??

  26. avatar
    Pablo
    August 10th, 2012  (Quote) at 02:25  (Quote) | #26

    Este problema es de firewall

  27. avatar
    Pedro
    October 4th, 2012  (Quote) at 21:55  (Quote) | #27

    Nice its Work!!!

  1. at | #1