Unable to connect to azure sever via RDP

Kelly O'Dwyer 0 Reputation points
2023-01-23T20:08:43.64+00:00

Have a server in Azure and am unable to connect to it via RDP. Have tried Public and azure Ip address.

Unable to ping public IP

Azure console says the machine is up and functioning properly

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,835 questions
Windows for business Windows Client for IT Pros Directory services Active Directory
Windows for business Windows Client for IT Pros User experience Remote desktop services and terminal services
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Michael Durkan 12,236 Reputation points MVP
    2023-01-23T21:14:15.8766667+00:00

    Hi

    the article here may help:

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-nsg-problem

    However, its recommended not to use RDP either over the Public or Private IP. You would be better off provisioning Azure Bastion if you need RDP connectivity directly to the VM:

    https://learn.microsoft.com/en-us/azure/bastion/tutorial-create-host-portal

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    0 comments No comments

  2. Amit Singh 5,306 Reputation points
    2023-01-24T03:50:05.5533333+00:00

    You could try the followings:

    • Try to identify if any windows firewall inside the Azure VM is blocking the inbound and outbound networking traffic. Or any process or antivirus software is disturbing it via checking it on the Task Manager. You can test the Connection via clicking the Connection troubleshoot in the Support + troubleshooting blade.
    • Move this VM to a different size (usually a larger one). Read more info.
    • The DNS in this Azure VM may be misconfigured or offline or has lost connectivity with the Internet If you really can connect to the resource with IP address over the Internet. 

    Especially, It's recommended to self-diagnose the RDP issue following in the Diagnose and solve problems on the Azure virtual machine UI. If it still could not solve your question, you may request MSFT support in the Support + troubleshooting.

    0 comments No comments

  3. Amit Singh 5,306 Reputation points
    2023-01-24T03:57:26.1+00:00

    I hope this can solve the problem.

    0 comments No comments

  4. Limitless Technology 44,751 Reputation points
    2023-01-24T17:47:04.88+00:00

    Hello Kelly O'Dwyer,

    The reasons why the machine cannot be RDP'd and not responding to ping can be numerous, for example that RDP has not been enabled, is not connected to a public network and so on.

    I would recommend to start with the next official guide from Microsoft to troubleshoot RDP connectivity to Azure virtual machines in order to narrow down the issue:

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection

    --If the reply is helpful, please Upvote and Accept as answer--

    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.