爱就爱了

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 8583|回复: 0

解决VMWare 的远程共享虚拟机MKS错误

[复制链接]
发表于 2018-3-5 10:19:08 | 显示全部楼层 |阅读模式
如果要让VMware Workstation在外网供用户访问的话,要在路由器上面设置两个端口443、902(可能还有912)。

其中443端口主要负责别名讯息的传递,而902端口主要负责远端控制台画面的传递。

如果443被占用,可以使用别的比如9443,然后在路由器上把9443映射到内网VMware Workstation所在主机的443端口。

连接IP后面加上端口

例如:10.10.10.10:9043

目前还没找到更改902端口的方法

==========================================================================

远程连接Vmware workstation的时候提示了个错误:大概是vmware unable connect mks login incorrect。

google了一下很多solution,但是都不太靠谱,最后从 http://www.tediosity.com/vmware-unable-to-connect-to-the-mks/ 看到解释:

Unable to connect to the MKS: Login (username / password) incorrect

Open /etc/vmware/config with a text editor.

Add this: vmauthd.server.alwaysProxy = "TRUE"

Check your firewall config/network setup.

This error is caused by your vSphere client not able to communicate with the ESX/ESXi host directly.

All “Unable to connect to the MKS:” errors are network issues. Do not be fooled by the mention of certificate issues…

合着都是network issues,提的建议是代理一下。 又查了一下mks错误的端口是902,在服务器的防火墙打开对902的访问权限发现问题解决,还是直连应该更快点。

进一步检查了一下发现是vmware-authd.exe监听了902和912,干脆把这个exe放到防火墙的允许列表里面。

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|平龙认个人分站 - 爱就爱了 ( 豫ICP备14029057号-2、4、5 )
豫公网安备 41010502002156号

GMT+8, 2024-3-29 09:38 , Processed in 0.038875 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表