HOW TO ALLOW PING FUNCTIONALITY TO WINDOWS AZURE MACHINES?
The Ping functionality on Windows Azure VM is blocked by default for security reasons, to be to enable them you can do that from the Windows firewall advanced features on each VM or you can login on the virtual machine and open the command prompt as an administrator and execute this command.
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" dir=in action=allow enable=yes protocol=icmpv4:8,any
Comments
Anonymous
December 14, 2014
The comment has been removedAnonymous
December 15, 2014
Thanks David , I adjusted it as per your comment :)Anonymous
March 16, 2015
Unfortunately ... I had nope it would but it didn't workAnonymous
August 04, 2015
Doesn't Work. This firewall rule could be work if the machine is not inside the Azure infrastructure. There is some sort of block or another firewall layer that is blocking the outside pings.- Anonymous
November 29, 2016
Hi Marcelo, yes it only works from inside the local network whether this is on Azure Vnet or through VPN site to site - if you want to ping Azure VMs from the internet , use PSping and open the port that you want to ping in the NSG.
- Anonymous
Anonymous
October 13, 2015
Check : blogs.msdn.com/.../use-port-pings-instead-of-icmp-to-test-azure-vm-connectivity.aspxAnonymous
November 29, 2016
Works great! Can now ping using PsPing utility version 2.01 (TCP) by specifying a public port. A regular ping still does not work.- Anonymous
November 29, 2016
Hi Jeremy, Thanks - yes you can use PsPing to ping azure machines from public internet if you open the public port that you are pinging in the NSG.
- Anonymous
Anonymous
February 14, 2017
The comment has been removed- Anonymous
February 16, 2017
Hi Roy,Yes, this only allows the ICMP on the windows OS firewall to allow you to ping machines over the internal network - Microsoft doesn't allow the ICMP as you mentioned for security reasons but this feature is currently under review, would love that you vote for it as well to push it faster into the development queue.https://feedback.azure.com/forums/216843-virtual-machines/suggestions/6423260-enable-icmp-traffic-to-azure-vms-over-the-internetRegards,Karim
- Anonymous