Tried connecting to the Windows VM you just created, only to be greeted with a timeout message?
This usually happens because the RDP port is not open yet. To connect to a Windows VM in Azure, you need to allow inbound RDP traffic through the VM's Network Security Group (NSG).
Open the VM Networking Settings
Go to your Azure VM and open the Networking tab.
You need to allow inbound traffic on port 3389, which is the default port used by Remote Desktop Protocol (RDP) on Windows.
Add an Inbound RDP Rule
Configure the inbound security rule as follows:
- Service: RDP
- Protocol: TCP
- Port: 3389
- Source: Your IP address
You may see an option to allow traffic from Any, but it is safer to restrict RDP access to your own public IP address whenever possible.
Check the Rule Priority
Azure Network Security Group rules are processed based on priority.
- Lower number = higher priority
- Higher number = lower priority
Always make sure your allow rule has the correct priority and is not being overridden by a deny rule with a higher priority.
Connect to the Windows VM
Once the inbound rule is configured, go to the Connect tab of your VM.
Download the RDP file and connect using your Windows administrator credentials.
#azure #cloud
0 Comments