not able to RDP to azure VM

MyAzQuery 166 Reputation points
2022-10-14T16:32:52.31+00:00

I created 2 VNets - VNet1 and VNet2
VNet1 is peering to VNet in hub network
VNet2 is not peered to any other network.

I created several azure Windows VMs on VNet1 , but i am not able to RDP to it. Even i checked that in my netowrk inbound port 3389 was open and in azure portal under my VM, i could test connectivity successfully , but still not able to connect

On the other hand, when i created Azure VM on the VNet2 , i was able to easily RDP without any problem.

Is this a Problem with the Vnet1 ? What is the possible cause of the issue ?

Please help

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

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 104K Reputation points MVP
    2022-10-15T17:55:43.413+00:00

    Hi @MyAzQuery ,

    it could be a firewall in your Azure environment, if you deployed a firewall.
    Also it could be a Network Security Group (NSG) that is blocking the inbound RDP connection. A NSG could be associated with a NIC of a VM or/and a vNet/subnet.
    What kind of Public IP SKU do you use?

    Public IPs with SKU Standard are blocking incoming traffic without a NSG. (Using a NSG is required)
    Public IPs with SKU Basic are allowing incoming traffic without a NSG. (Using a NSG is recommend but not required)
    https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses#sku

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten