Certification Test Tool 1.2 for Azure WinRM 无法完成操作
Certification Test Tool 1.2 for Azure WinRM cannot complete the operation
我目前正在尝试使用 Windows Server 2012 Datacenter 连接到我的虚拟机,并通过 Certification Test Tool 1.2 连接到它蔚蓝。并且总是收到此错误:
Connecting to remote server xyz-vm.westeurope.cloudapp.azure.com
failed with the following error message: WinRM cannot complete the
operation. Verify that the specified computer name is valid, that the
computer is accessible over the network, and that a firewall exception
for the WinRM service is enabled and allows access from this computer.
By default, the WinRM firewall exception for public profiles limits
access to remote computers within the same local subnet. For more
information, see the about_Remote_Troubleshooting Help topic.
我猜这个工具正在使用 PSRemot,所以我检查了一下:
- "winrm" 是 运行。
- "PS Remoting" 已在防火墙中启用。
- 端口 5985 和 5986 在 Azure 中的网络安全组中,并且在本地 VM 防火墙中允许。
我通过 Test-WSMan 测试了连接并获得了连接:
screenshot。但是与认证测试工具的连接仍然失败。
即使在完全关闭 VM 的防火墙后,它也不起作用
感谢您的帮助
你能运行在虚拟机的cmd中netsh winhttp show proxy
如果这显示端口 8080 那么你可以 运行 netsh winhttp reset proxy
据@Shengbao Shui - MSFT
对于现有的 VM,您还要检查此 blog。您需要创建一个 self-certificate 并启用 https。
我目前正在尝试使用 Windows Server 2012 Datacenter 连接到我的虚拟机,并通过 Certification Test Tool 1.2 连接到它蔚蓝。并且总是收到此错误:
Connecting to remote server xyz-vm.westeurope.cloudapp.azure.com failed with the following error message: WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet. For more information, see the about_Remote_Troubleshooting Help topic.
我猜这个工具正在使用 PSRemot,所以我检查了一下:
- "winrm" 是 运行。
- "PS Remoting" 已在防火墙中启用。
- 端口 5985 和 5986 在 Azure 中的网络安全组中,并且在本地 VM 防火墙中允许。
我通过 Test-WSMan 测试了连接并获得了连接: screenshot。但是与认证测试工具的连接仍然失败。
即使在完全关闭 VM 的防火墙后,它也不起作用
感谢您的帮助
你能运行在虚拟机的cmd中netsh winhttp show proxy
如果这显示端口 8080 那么你可以 运行 netsh winhttp reset proxy
据@Shengbao Shui - MSFT
对于现有的 VM,您还要检查此 blog。您需要创建一个 self-certificate 并启用 https。