我无法通过 RDP 连接到 Azure VM 的原因可能是什么?

What could be the reason I cannot RDP to my Azure VM?

我确实创建了两次新的 Windows Sever 2016 Azure VM。在这两种情况下都是 运行(如 Azure 仪表板所示),但是当我想通过 RDP 连接到机器时,我收到标准消息:

Remote Desktop can’t connect to the remote computer for one of these reasons ...

非常欢迎任何关于可能是什么原因以及如何解决它的提示。

以前(直到几周前)它总是工作正常。

Any tips on what could be reason and on how to fix it are very welcome.

基于 windows 的 Azure VM 的 RDP 可能因各种原因而失败。如果您只是在 Azure 中创建一个新的 VM,可能是错误的防火墙限制。您可以检查网络安全组中的客户端 IP 地址是否允许 RDP 端口 3389。如果没有,您可以 add an inbound security rule 为此。可以从虚拟机页面--networking---INBOUND PORT RULES验证NSG集。默认情况下,端口 3389 在 windows 防火墙中为入站流量启用。

此外,您可以验证路由器和防火墙等本地网络设备是否阻止出站 TCP 端口 3389,如 Detailed troubleshooting steps for remote desktop connection issues to Windows VMs in Azure 中所述。