Why I can't ping Azure VM from my local PC

Vnuuk picture Vnuuk · Feb 29, 2016 · Viewed 24.6k times · Source

I have a Windows VM on Azure and I don't understand why my ping times out. I found a probable reason: on Azure portal I see public IP "40.127.163.20", but inside VM when I do ipconfig I see different IP that is strange.

Do you have any ideas?

enter image description here

Answer

Martin Beeby picture Martin Beeby · Feb 29, 2016

ICMP protocol is not permitted through the Azure load balancer (inbound or outbound) which means that you can't do a simple ping to your VM. There is a : user voice request for this to be enabled here.

This blog here describes how you can use a port ping as an alternative.

There is some documentation on how to set up an Instance Level IP, which would circumnavigate the load balancer and give direct communication to the Virtual Machine, but I haven't tried this approach (I'm giving it a go right now, will report back)