Unable to RDP to azure VM

asked 2021-11-16T10:59:29.313+00:00
Khaled Reslan 1 Reputation point

I didnt change anything, it happened out of a sudden. I tried redeploying and reapplying the VM. Ofcourse i restarted it the machine and ran diagnostic errors. The vm is unreachable from the public and unreachable from another VM that is on azure.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
4,559 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
3,031 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. answered 2021-11-16T11:41:46.6+00:00
    Bhanu Ejjagiri 246 Reputation points Microsoft Employee

    Hi @Khaled Reslan
    Good day,

    Can you check the below things:

    1. Check the "Boot Diagnostics" status.
    2. Error message when trying to RDP - "Internal Error" or "Three liner error"
    3. Check if you are able to access the VM from an another Azure VM running in same Vnet/Subnet.
    4. Please check if there is an NSG associated and it has an Inbound rule with allow on RDP port 3389 with a lesser priority (Example: 100).
    5. All the Azure Standard public IP's must needs an NSG - just incase if you remove the NSG, it will effect the RDP.
    6. Open Azure portal --> Open the VM --> Select "Connection Troubleshooting" from the list and change the VM destination service and port to RDP/3389 and run the test.

    P.S: I am hoping no one has made any changes within the VM that can effect the RDP access, such as enabling firewall, Group Policy changes, changing the VM IP internally..etc.

    Please feel free to let me know if you have any further queries.

  2. answered 2021-11-24T06:29:08.353+00:00
    Khaled Reslan 1 Reputation point


    Kindly note that the issue is fixed by changing the RDP Port.