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

Remote console connection fails with the error: Unable to connect to the MKS (2150981)

  • 0 Ratings
Language Editions


When attempting to connect to the remote console you see this error:

Unable to connect to the MKS: Could not connect to pipe \\. \pipe\vmware-authdpipe: The system cannot find the file specified.   


This issue occurs when:
  • Attempting to connect to the remote console from vCenter Server to a virtual machine.
  • When connecting to the remote console from different subnets through a firewall.


To allow the VM Remote Console port-902 to vCenter and the ESXi hosts:

  1. If the user is in a different layer 3 subnet, check firewall settings:

    The connection is as follows:  User --> TCP/UDP 902 --> vCenter

  2. Click on the remote console of the virtual machine on a host.

    The connection is as follows: User redirect --> TCP/UDP 902 --> ESXi Host

Note:  If the host is added by DNS, it must have DNS resolution for both vCenter Server and the ESXi hosts.

See Also

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.


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