Cannot connect to Azure VM with RDP

Hoang Nguyen 1 Reputation point
2022-02-17T03:12:53.917+00:00

Hi everyone,

I deployed a VM and assign it with a public IP address. But when I tried to remote desktop to the IP address , following error message appears:
175231-image.png

The RDP port has been allowed in the networking rules on Azure, and I still can connect to other VMs on Azure (different country zone) with no problem.

When I look at the boot diagnostics, it still show the login screenshot of the most recent reboot, so I think the VM itself is fine.

Any help would be greatly appreciated.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,898 questions
{count} votes

1 answer

Sort by: Most helpful
  1. srbhatta-MSFT 8,561 Reputation points Microsoft Employee
    2022-02-17T06:32:39.57+00:00

    Hello @Hoang Nguyen ,
    Thanks for posting your query on Microsoft QnA.
    I understand you are unable to RDP, and getting the above generic error. You mentioned that in the boot diagnostics, you see the login screenshot of the most recent reboot. Could you once login to the VM via serial console and check if you are able to access the VM via console. Also, can you try to ping the VM from any other VM in the same subnet to check if the network connectivity is fine. If the network connectivity is fine, then most likely it is something to do with the RDP settings. Please check if the RDP port is allowed at the firewall level within the VM's OS. You can follow the below troubleshooting guides :
    troubleshoot-rdp-general-error
    troubleshoot-rdp-nsg-problem
    detailed-troubleshoot-rdp

    Let me know if this helps, and feel free to reach back with any additional errors you might be getting during the troubleshooting.

    -----------------------

    Please don't forget to Accept as Answer and Upvote and if you think my response was helpful.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.