使用VMWareWorkstation 12.5 连接到vShpere 5.5的vCenter,不能连接vCenter上的虚拟机提示,提示报错“无法连接 MKS: Login(username/password)incorrect”。

经分析在vCenter连接ESXi使用的名称,esx1.vi.com,

无法连接 MKS: Login(username/password)incorrect_第1张图片

安装VMWare Workstation 12.5的计算机不能解析该域名,所以连接失败,于是更改安装VMWare Workstation 12.5的计算机hosts文件

C:\Windows\System32\drivers\etc\hosts    使用记事本打开

添加以下内容,就能搞定名称解析问题,你要针对你的具体情况设置名称和IP地址的对应关系

192.168.80.100 vcenter.vi.com

192.168.80.10  esx1.vi.com

192.168.80.20  esx2.vi.com