Ping i.e. ICMP Echo request is most commonly used to troubleshooting host visibility (Status), i.e. whether the host server is reachable or not. Ping/ICMP Requests are blocked by the windows VPS server by default by some hosting providers.
In this article, you will learn about, How to Configure the Windows firewall to allow ping?
As ping only required incoming connection allowance, hence we need to enable the ping requests via Inbound Rules of Windows Firewall with Advanced Security.
1. Log in to Windows Server → Start → Administrative Tools → Windows Firewall with Advanced Security.
2. Navigate to Windows Firewall with Advanced Security → Inbound Rules.
3. Search,
For IPv4: File and Printer Sharing (Echo Request – ICMPv4 – In)
For IPv6: File and Printer Sharing (Echo Request – ICMPv6 – In)
4. Right-click on the → Enable Rule,
For IPv4: File and Printer Sharing (Echo Request – ICMPv4 – In)
For IPv6: File and Printer Sharing (Echo Request – ICMPv6 – In)