无法连接到新创建的Azure VM

时间:2019-01-14 05:30:35

标签: windows azure port azure-virtual-machine remote-desktop

我刚刚创建了一个新的Azure虚拟机。我进入了Azure portal-> Connect-> Download RDF File。然后在Microsoft远程桌面中打开RDP文件。

但是我收到错误消息:`我们无法连接到远程PC。确保PC已打开并连接到网络,并且已启用远程访问。

虚拟机Networking部分还显示:Inbound traffic to the Public IP address may be blocked. You can update inbound port rules in the VM Networking page.

我尝试了on here的指示,但是没有任何运气...

请参阅以下有关我当前的入站和出站端口规则:

enter image description here

1 个答案:

答案 0 :(得分:1)

在这种情况下,需要在NSG的入站安全规则中为RDP流量添加端口3389。使用本地VM出站PUBLIC IP或任何其他源设置源。目标端口3389。如果您具有网络接口级别或子网NSG,则必须将规则添加到两个NSG。

enter image description here