Symptoms
When you open the console of a powered on virtual machine from vCenter Server or directly on the ESXi/ESX host, you see a black screen with a message at the top of the console screen You see the error:Unable to connect to the MKS: Console access to the virtual machine cannot be granted since the connection limit of 0 has been reached.
Cause
The issue occurs because the limit on the number of simultaneous console connections set in the vSphere Web Client impacts the vSphere client console connection limit.
Resolution
Confirm that SSL is enabled on the ESXi hosts. For more information, see VMware Remote Console (VMRC) requires hosts to enable SSL authentication (2007386). To resolve this issue, deselect Limit the number of simultaneous connections to this Virtual Machine on the affected virtual machine. To deselect Limit the number of simultaneous connections to this Virtual Machine: Open a session to the vSphere Web Client.https:// vcenter_server_name:9443/vsphere-client Power off the virtual machine. In the vSphere Web Client, right-click the affected virtual machine. Click Configuration > Edit Settings. Click VM options. Click VMware Remote Console Options, then deselect Limit the number of simultaneous connections to this Virtual Machine. Click OK. Power on the virtual machine. Open a new console window to the virtual machine in the vSphere Client to verify. To work around this issue, add an entry to the configuration parameters of the virtual machine. To add an entry to the configuration parameters of the virtual machine: Power off the virtual machine. Right-click the affected virtual machine and click Edit Settings. Click the Options tab, then click General under Advanced. Click Configuration Parameters. Look for an entry named RemoteDisplay.maxConnections: If the entry exists, set the Value to 1 or higher. If the entry does not exist, click Add Row to add the parameter. The parameter details are:Name: RemoteDisplay.maxConnectionsValue: 10Note: Value can be set to 1 or more. Power on the virtual machine.
Related Information
VMware Remote Console (VMRC) requires that SSL is enabled on hosts仮想マシンへのコンソールを開こうとすると、次のエラーで失敗する: MKS に接続できません:接続制限 0 に達したため、仮想マシンへのコンソール アクセス権を付与できません。打开虚拟机控制台失败并显示以下错误:无法连接到 MKS: 无法授予控制台对虚拟机的访问权限,因为已达到连接限制 0