5

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

juvchan
  • 6,113
  • 2
  • 22
  • 35
Vnuuk
  • 6,177
  • 12
  • 40
  • 53
  • 1
    See if this answers your question: http://stackoverflow.com/questions/34669632/trying-to-ping-linux-vm-hosted-on-azure-does-not-work. – Gaurav Mantri Feb 29 '16 at 15:46
  • 2
    Also, there's [this answer](http://serverfault.com/a/749429/99269) on ServerFault (where this type of question actually belongs). It's been answered several times there. – David Makogon Feb 29 '16 at 16:05
  • Gaurav Mantri, no it doesn't answer my question.. I can ping websites from inside my VM except VM public IP address.. – Vnuuk Mar 01 '16 at 07:52
  • David Makogon - it doesn't answer my question.. I need to access my website through IP or DNS name, but I can't do it for some reasons.. – Vnuuk Mar 01 '16 at 07:58
  • http://www.letmecheck.it/tcp-ping.php TCP based ping – George Beier Jan 22 '19 at 19:11

1 Answers1

9

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)

Martin Beeby
  • 4,523
  • 1
  • 26
  • 20
  • Hi Martin, is there any documentation on MSDN which means about ping disabled in Azure VM by default? Thanks – juvchan Feb 29 '16 at 21:24
  • Hello, unfortunatelly it's not my case since I can ping websites inside my VM by IP or DNS. Do you have any assumptions? – Vnuuk Mar 01 '16 at 08:19