Following up on Can't open Azure VM Port and https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal
Is it possible to open icmp port for ping
using azure cli, like az vm open-port
or something?
Is it possible to open icmp port for
ping
using azure cli, likeaz vm open-port
?
Azure NSG now supports ICMP protocol and allows ping to a VM as we can see in the below screenshot from the document here .
But az vm open-port
command do not have a parameter to pass ICMP
protocol, refer this .
You could use az network nsg rule create
command to allow ICMP on a VM as mentioned here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.