开启 ping
## 开启 ping netsh firewall set icmpsetting 8 ## 禁用 ping netsh firewall set icmpsetting 8 disable ## Win server 2019 netsh advfirewall firewall set icmpsetting 8
或者 直接操作防火墙