VM is not accessible from the whitelisted IP Address

Thayumanaswamy, Naresh 0 Reputation points

Hi Team, I have tried to connect one vm from whitelisted IP Address but its connecting from yesterday and which was working earlier.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,243 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,194 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 48,006 Reputation points Microsoft Employee

    Hello @Thayumanaswamy, Naresh ,

    I understand that you are trying to connect to an Azure Virtual machine from a whitelisted IP address but it's not connecting since yesterday. And this was working fine earlier.

    To connect to an Azure VM from Internet, you would need to allow the access from the NSG (Network Security Group) which can either be associated to the VM's NIC or the VM's subnet.

    Network security group is used to filter inbound and outbound network traffic to and from Azure resources in an Azure virtual network.

    Network security groups contain security rules that filter network traffic by IP address, port, and protocol. When a network security group is associated with a subnet, security rules are applied to resources deployed in that subnet.

    Refer the below document which describes how to connect, via SSH, to a VM that has a public IP and also shows the exact NSG rule that you need to add:


    To learn more about NSG (Network Security Group), you can refer the below documents:



    Additional troubleshooting documents that you may refer:



    SSH related troubleshooting documents:



    Kindly let us know if the above helps or you need further assistance on this issue.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments