question

GermanLeon-8484 avatar image
0 Votes"
GermanLeon-8484 asked GermanLeon-8484 answered

VM with Windows (Windows Server 2019 Datacenter) unable to connect by RDP, BASTION, etc

Hi there! tired of reading a lot of tutorials and forums with no answer about this frecuent topic.
I feel I'm wasting my trial period trying to make changes in every setting I read in forums. I've re-deployed a couple of times. I don't know what else I could do.

Can anybody help me in connect to this virtual machine?

The server's health looks well, Ping to its IP does not works 52.250.108.17
RDP port 3389 is not responding

Thanks!
German

azure-virtual-machines
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

GermanLeon-8484 avatar image
0 Votes"
GermanLeon-8484 answered

Hi Andreas! thanks for your reply. I have only one VM. I followed a couple of procedures directetd to those with more than one VM.
I share with you the network screen. Now I've RDP connectivity BUT unable to connect to the far end. This is so frustraiting I'm spending a lot of time in making this stuff works. Sorry but I'm really dissapointed.

Thanks again!!
German



123620-image.png



image.png (92.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered AndreasBaumgarten edited

Hi @GermanLeon-8484 ,

to connect via RDP to an Azure VM (running Windows) you have to check if there are Network Security Groups (NSG) involved.
The NSGs could be associated with the VM and/or with the subnet the VM is connected to.

In most cases the issues to connect to a VM using RDP is related to the NSG configuration.
How NSG are working is described here: https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works

Make sure the each related/associated NSG contains an "allow Inbound Security rule - any source ip - any source port - protocol TCP - any destination ip - destination port 3389 (RDP).
How to add a Security Rule is described here: https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-filter-network-traffic#create-security-rules

In the screenshot you can see 2 NSGs affecting VM01 - the green marked one is associated to the subnet the VM is connected to - the blue marked one is associated directly with the VM. In both NSGs are Security Rules added "allowing Port 3389 TCP incoming".

123330-image.png


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

Regards
Andreas Baumgarten


image.png (489.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.