Azure connectivity problems

Luis Miguel Perez Lopez 30 Reputation points
2023-08-03T11:13:54.5633333+00:00

I just created a virtual machine in Azure. I can connect to it without problems to access remote access, but it does not respond to my ping. I have the File and Printer Sharing (Echo Request - ICMPv4-In) rule enabled in the firewall and I don't understand why it doesn't answer me... I understand that there must be some problem with the configuration in Azure.

Can anybody help me ??

All the best

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,014 questions
Windows for business Windows Server User experience Other
{count} vote

Accepted answer
  1. Zane Rodman 86 Reputation points
    2023-08-03T12:17:17.7966667+00:00

    Hi Luis,

    I understand you have allowed inbound traffic on the VM, however it is necessary to allow inbound traffic in Azure. Default rules block inbound ICMP.

    To allow ICMP inbound, please navigate to the VM in Azure and perform the following.

    On the left-hand navigation, select Networking
    User's image

    Select Add inbound port rule

    User's image

    Define your rule

    User's image

    Once added, test ICMP.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Jackson Martins 10,606 Reputation points MVP Volunteer Moderator
    2023-08-03T12:20:19.4933333+00:00

    Hi @luis Miguel Perez lopez

    By default, an Azure VM's network interface or the subnet it's connected to has an NSG that blocks all inbound ICMP traffic, including pings. Even if you have the File and Printer Sharing (Echo Request - ICMPv4-In) rule enabled in the Windows firewall, the Azure NSG might still block the pings.

    Search for 'Network security groups' in your Azure Portal, or NSG linked to your subnet, go to 'Inbound security rules' and add ICMP form source any

    The inbound ICMP Echo Request (used for pings) is usually allowed on the Windows Firewall by default, If you're not sure about this, check Windows Firewall inside VM

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--


  2. Luis Miguel Perez Lopez 30 Reputation points
    2023-08-03T15:41:18.5166667+00:00

    Thanks to both of you. The ping works for me. Now what I need is for it to work for port 8172. I have done the same steps to open port 8172 but it doesn't work...

    telnet 1.1.1.1 3389 => it does work (RDP)

    telnet 1.1.1.1 8172 => it does NOT work (MSDeploy)

    I don't know what's going on

    User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.