-4

As title, how can I ping my machine to do some basic network testing? I have created a new VM but pinging it's public address returns request timeout.

William Yeung
  • 10,368
  • 9
  • 36
  • 42

1 Answers1

4

Ping is blocked by default for Azure VMs for security reasons (source). You could either allow ICMP by configuring appropriate firewall rules or Use port pings instead of ICMP to test Azure VM connectivity.

Gaurav Mantri
  • 128,066
  • 12
  • 206
  • 241
  • This answer doesn't allow the Internet to ping the VM successfully, only other VM's in the VM's Vnet. – danno Oct 02 '17 at 15:57