Does the ping command to check response time of a website always work?

Posted by
712 views
1 reply
2 users
gices
+
+
I usually use the ping command [ping example.com] to see how long it takes for a website to respond but sometimes it just does not work. Why would that be?

1 Reply

gices
gices Level 6
It depends on whether the server on which the website is hosted has a ping program enabled. For example on Windows servers, the ICMP (Internet Control Message Protocol) is responsible for replying to ping commands but it needs to be enabled to do that. So if it's disabled, you might get a "Request timed out" or some message similar to this.