Ping is a network administration utility used to test the reachability of a host on an Internet Protocol network. This command is used for troubleshooting the accessibility of devices between two endpoints. This utility uses a series of Internet Control Message Protocol (ICMP) echo messages to determine whether a remote host is active or inactive, the round-trip delay in communicating with the host, packet loss. The ping command first sends an echo request packet to an address, then waits for a reply. The ping is successful only if the echo request gets to the destination, and the destination gets an echo reply back to the source within a predetermined time called a timeout. Here are some related articles: Ping request could not find the host: Verify if the name is entered correctly, what is transit failed, general failure, request timed out and destination host unreachable, why can’t I ping an EC2 instance Public IP Address, and how to resolve request timed out when pinging and how to create a Firewall rule.
This error was a result of the Windows firewall blocking the ICMP traffic. This was validated by turning off the firewall temporarily and it worked.
Solution: Create an ICMP Rule
To resolve this issue, you will have to create an ICMP rule with the following steps as shown below. For how to create a firewall rule in a Windows server, see the following link.
– Launch the Windows Firewall and
– Click on New rule
– Under rule type, select custom and
– Click on Next
Under programs, select All programs as shown below
– Click on Next
Under Protocol and Ports
– Select ICMP and
– Click on Next as shown below
I will be selecting “Any IP Address as shown below”, but you can specify an IP address as you wish.
Since this is a test environment, I will apply the rule to all profile as shown below
Select Allow the connection and click on next
Finally, enter a rule name as shown below
– The description field is optional.
– Click on Finish
Now that we have finished creating our rules, lets ping our server again
As you can see, we were able to ping our server without having further firewall issues.
I hope you found this blog post on How to resolve request timed out when pinging helpful. If you have any questions, please let me know in the comment session.