skip to Main Content

Yesterday I was able to connect to VM. After i closed it, I was not able to connect anymore.
I am getting these errors:
Network connectivity blocked by security group rule: DefaultRule_DenyAllInBound

Error:
enter image description here

I am expecting a possible solution to this problem.

enter image description here

2

Answers


  1. You have a rule in your network security group to allow RDP on TCP 3389, however, your test connection is for SSH on TCP 22. Which are you trying to connect by? RDP or SSH?
    Either add a rule to allow SSH or change your test to use RDP.

    Note also, it is not good practice to open your NSG to source ANY. If you have an source IP or range that you can specify, it would be hugely more secure.

    Login or Signup to reply.
  2. To create a new rule, on the Networking blade of the VM (your second screenshot) click Add Inbound Port Rule and create a rule like this:

    Create Allow Inbound SSH rule

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search