无法连接到新创建的 Azure VM

Cannot connect to newly created Azure VM

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

但是我收到错误消息:`我们无法连接到远程 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 但没有成功...

请看下面我目前的出入港规则:

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