question

KTELLAWI-9639 avatar image
0 Votes"
KTELLAWI-9639 asked AndreasBaumgarten commented

i can not connect to my VM over RDP

hello
i couldn't connect to VM by RDP and below wrong messages is appearing to me when i try to connect


[1]: /answers/storage/attachments/107292-screenshot-2021-06-19-231141.jpg

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.

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered

Hi @KTELLAWI-9639 ,

in most cases a NSG is missing a Security Rule to allow "inbound TCP Port 3389":
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-nsg-problem

NSGs can be associated with the VM and/or subnet. Both NSGs require the Security Rule.
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works


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

Regards
Andreas Baumgarten

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.

KTELLAWI-9639 avatar image
0 Votes"
KTELLAWI-9639 answered KTELLAWI-9639 edited

hello @AndreasBaumgarten

there is no NSG rule missing please look at the image below :

107170-nsg.jpg



nsg.jpg (64.9 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

Hi @

please try the Connection troubleshoot for the VM:

107189-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 (179.5 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.

KTELLAWI-9639 avatar image
0 Votes"
KTELLAWI-9639 answered KTELLAWI-9639 edited

I did it but unfortunately, it was not succeed
I still unable to connect over RDP
may the problem in extension affects on connection
please check the image below

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

Hi @KTELLAWI-9639 .

there is a NSG blocking the incoming network traffic because there is a missing Security Rule for allow incoming TCP 3389.

Do you have specified the Source Port in the NSGs? If so please choose any for the Source Port. Only the Destination Port needs to be specified with 3389

Please check the network settings of your VM again:

Here you can see two NSG affecting the VM01 (one associated with the VM one with the related subnet) - Click on Effective security rules

107257-image.png


Here are the Effective security rules for the NSG associated with the VM

107297-image.png

Here are the Effective security rules for the NSG associated with the subnet related to the VM

107331-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 (315.9 KiB)
image.png (264.4 KiB)
image.png (286.5 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.

KTELLAWI-9639 avatar image
0 Votes"
KTELLAWI-9639 answered AndreasBaumgarten commented

I did it but unfortunately, it was not succeeded
may the problem in extension affected on RDP connection
please check the image below


107324-extensiomproblema.jpg



· 1
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.

Hi @KTELLAWI-9639 ,

is there a second Windows VM in the same subnet? If yes, are you able to connect via RDP to this VM? If yes, are you able to connect from this VM to codingWork via RDP?

Here is a list of steps you can try to fix the RDP connection issue:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection

As long as the Connection troubleshoot is showing a NSG Security Rule is blocking you won't be able to connect via RDP. No matter of the Extension statues.


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

Regards
Andreas Baumgarten

1 Vote 1 ·