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.
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
.
来源:https://stackoverflow.com/questions/34669632/trying-to-ping-linux-vm-hosted-on-azure-does-not-work