vmware workstations 共享虚拟机 failed to connect 903
转载自:https://www.driftar.ch/index.php/2017/03/20/vmware-workstation-unable-to-connect-to-the-mks-login-incorrect/文末附有原文检查ESXi防火墙下一步是确保ESXi防火墙没有阻止通信。确保打开以下传入端口:443、902、903我检查了,一切正常。但是我仍然收到此错误消息。我在防火墙端口列
转载自:https://www.driftar.ch/index.php/2017/03/20/vmware-workstation-unable-to-connect-to-the-mks-login-incorrect/
文末附有原文
检查ESXi防火墙
下一步是确保ESXi防火墙没有阻止通信。确保打开以下传入端口:443、902、903
我检查了,一切正常。但是我仍然收到此错误消息。我在防火墙端口列表上没有看到的唯一端口是903。而且我无法打开此端口。但是我知道上次将vCenter连接到VMware Workstation时这不是问题。
在ESXi主机上编辑配置文件
好吧,我不确定那是不是要走的路。考虑可能的更新等。某些配置文件可能会被覆盖。但是我还是检查了一下。它在我的实验室中,当出现问题或不起作用时,我可以修复它并学习一些东西。
您可以使用Putty / SSH和vi编辑该文件,也可以使用WinSCP。连接到ESXi主机并在/ etc / vmware / config中找到配置文件 。
添加行 vmauthd.server.alwaysProxy =“ TRUE”
我也不确定是否需要重新启动,我进行了重新启动,但也无法正常工作。
使用其他端口进行身份验证
您可以尝试在VMware Workstation中编辑config.ini文件,该文件位于“ C:\ ProgramData \ VMware \ VMware Workstation \ config.ini ”中。
将
authd.client.port =“ 903”更改为authd.client.port =“ 902”
之后,重新启动“ VMware Authorization Service”,您就可以了。
那确实在我的系统上起到了作用,我能够通过VMware Workstation连接到我的VM。
原文:
VMware Workstation – Unable to connect to the MKS: Login incorrect
20. March 2017 by karl
Today i ran into the problem that i wasn’t able to connect to my vCenter via VMware Workstation. If you’re working in your homelab it’s probably helpful sometimes to have access to a VM console without to connect to an ESXi host, a vCenter Web Client or even via RDP to some management client. You can easily connect to your vCenter with VMware Workstation. I wrote a short article about how to save the login credentials in VMware Workstation.
The error message i’ve had was:
“Unable to connect to the MKS: Login (username / password) incorrect”
mks
I’m pretty sure that this wasn’t the case. I’ve tried it with the @vsphere.local admin and also with my domain administrator. But no success.
When i searched for a solution i’ve found many hints and tips. Let me show you what i’ve found and what was my solution at the end.
Check the ESXi firewall
Next step is to make sure that the ESXi firewall isn’t blocking communication. Make sure the following incoming ports are open: 443, 902, 903
I checked that, all ok. But i still got this error message. The only port i didn’t see on the firewall port list was 903. And i wasn’t able to open this port. But i knew that this wasn’t the issue when i connected my vCenter to my VMware Workstation the last time.
Edit a config file on your ESXi host
Well, i’m not sure if that’s the way to go. Thinking about possible updates etc. some configuration files might get overwritten. But i checked it anyway. It’s in my lab and when something goes wrong or does not work, i can fix it and learn something.
You can use Putty / SSH and vi to edit this file, or go comfortable with WinSCP. Connect to your ESXi host and locate the config file at /etc/vmware/config.
Add the line vmauthd.server.alwaysProxy = “TRUE”
I’m also not sure if a restart is necessary, i did a restart, but it didn’t work either.
Use another port for authentication
You can try to edit the config.ini file in VMware Workstation, located at “C:\ProgramData\VMware\VMware Workstation\config.ini“.
Change the line authd.client.port = “903” to authd.client.port = “902”. After that restart the “VMware Authorization Service” and you should be fine.
That did the trick on my system, i was able to connect to my VMs through VMware Workstation.
Hint: if you’re working with Notepad++ (highly recommended!) then you’re able to save the file after granting administrative access (you see what i mean when you try to save the file). If you’re working with another text editor, you should start this text editor as administrator (just right click => run as administrator). Otherwise you probably won’t be able to save the changes.
更多推荐


所有评论(0)