英文:
Can't connect to VM because inbound port rule is not working
问题
我无法连接到我的Azure虚拟机,尽管尝试重新启动它并创建新实例。 DenyAllInbound规则以前阻止我连接到我的虚拟机,因为RDP规则应该覆盖它,但根本没有被添加。 今天Azure为我创建了RDP规则,正如它应该的那样,然而,我只能连接一次,从那以后就无法工作。而且那是一个不同的虚拟机。 我不得不删除它,因为在创建虚拟机时,Azure未告诉我就更改了区域,结果延迟非常高。 有什么建议可以解决这个问题?
我遇到了这个错误:
【图片链接】
我尝试过:
- 重新启动虚拟机
- 创建新的虚拟机
- 创建一个具有高优先级的新RDP规则
- 尝试更改端口,但显然3389是RDP的唯一选项。
更新:
【图片链接】
英文:
I'm having trouble connecting to my Azure VM, despite trying to restart it and creating new instances. The DenyAllInbound rule was preventing me from connecting to my VMs before because the RDP rule that's supposed to override it wouldn't get added at all. Today Azure is creating the RDP rule for me, as it should, however, I was only able to connect once, and it hasn't been working since then. Also, that was a different VM. I had to delete it because while creating the VM, Azure changed the region without telling me and as a result, there was very high latency. Any suggestions on how to fix this issue?
I tried:
- Restarting the vm
- Creating a new vm
- Creating a new RDP rule with high priority
- Tried changing the port, but apparently 3389 is the only option for RDP
答案1
得分: 1
你可以按照以下步骤检查 Azure VM RDP 连通性问题。
-
通过导航到 启动诊断 来检查 VM 运行状态,因为它会显示 Azure VM 的当前屏幕。
-
要收集 Azure VM 的诊断信息,请按照以下步骤安装 AzurePerformanceDiagnostics 扩展。
-
运行 VM 诊断 以收集 VM 信息。
-
完成诊断后,下载报告并分析问题。
-
运行 网络安全组 测试如下。
-
如果问题仍然存在,请尝试使用没有任何阻塞的不同 网络 进行检查。
有关更多关于 Azure VM RDP 问题的信息,请参考:解决连接到 Azure 虚拟机的远程桌面连接问题。
英文:
You can check Azure VM RDP connectivity issues by following the steps.
- Check the VM running status by navigating to Boot diagnostics as it displays the current screen of Azure VM.
- To collect Azure VM diagnostics install the AzurePerformanceDiagnostics extension as below.
Azure VM > Extensions + applications > Add.
Run the VM diagnostics to collect VM information.
Once complete the diagnostics, download the report and analyse the issue.
- Run Network security group test as below.
- If still persisting the issue, kindly check with a different Network without any blockage.
Refer : Troubleshoot Remote Desktop connections to an Azure virtual machine more about Azure VM RDP issue.
答案2
得分: 0
我有一个拒绝所有规则,这是一个默认的硬编码规则,在诊断中显示,但我的入站端口3389的指标是100 - 有人能解释一下为什么我不能远程桌面连接到虚拟机吗?
一切看起来都正常。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论