Share via

Unable to RDP to VMs

CromwellM 1 Reputation point
Dec 6, 2019, 8:48 AM

What are the common cause in unable to remote desktop to Azure VMs? I already have RDP ports enable as well successfully did a network test.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,173 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. msrini-MSFT 9,286 Reputation points Microsoft Employee
    Dec 6, 2019, 8:51 AM

    Hi,

    You can first check if there are IP connectivity to the VM. Try to telent or try any layer 4 connectivity test to your VM's Public IP on port 3389.

    If that is closed, then you need to check if you have allowed port 3389 in the Inbound rule of your VM's NSG.

    You can also follow this troubleshooting guide: https://learn.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-connection

    1 person found this answer helpful.
    0 comments No comments

  2. Arwind Yadav 11 Reputation points
    Dec 6, 2019, 11:36 AM

    If you have changed the default RDP port then run following Power Shell Script.

    netsh advfirewall firewall add rule name="Open RDP Port " dir=in action=allow protocol=TCP localport=

    1 person found this answer helpful.
    0 comments No comments

  3. RnD0102 176 Reputation points
    Dec 6, 2019, 3:12 PM

    maybe DNS issues,please check your dns. or try to use public-ip

    0 comments No comments

  4. Emerson Caro 86 Reputation points
    Dec 18, 2019, 3:54 AM
    • Check if your machine that will connect to the Azure VM is allowed for connecting outbound to 3389.
    • Check if port 3389 is being blocked on the NIC's NSG before checking the NSG on the subnet level.
    • Try restarting the virtual machine.
    • Try redelopying the VM to another host.
    0 comments No comments

  5. Branden_Naidoo 1 Reputation point
    Dec 18, 2019, 5:50 PM

    Check you rdp version on your workstation matches your VM version and that NLA is enabled.

    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.