Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wonder why my server(s) don't respond to ping?

Check this one:

$ ping
PING ( 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2

But it does resolve:

$ curl -i -X HEAD
HTTP/1.1 200 OK
Server: nginx/0.8.54
Date: Tue, 29 Mar 2011 05:07:43 GMT
Content-Type: text/html
Content-Length: 2527
Last-Modified: Fri, 04 Feb 2011 18:19:57 GMT
Connection: keep-alive
Accept-Ranges: bytes
share|improve this question
up vote 6 down vote accepted

Because somewhere between you and your web server, they're blocking ICMP traffic.

Or because your host really is offline.

ping is not a suitable method of checking if your site is alive. When I run telnet 80 I get the expected HTTP response, so it's safe to assume that somewhere ICMP packets are being dropped. This is not unusual, but is kinda pointless for a web host.

share|improve this answer
Thanks! The default EC2 security groups is not configured for that, another developer thought that was an issue (since he wasn't able to connect to a service). – igorgue Mar 29 '11 at 6:10

Because DOMAINS NEVER RESPOND TO PING. Only servers can.

And in your case quite oviously the server is configured not to responst to ICMP messages (which is what a ping is). Or an element in between (a router or firewall) throws it away.

share|improve this answer
Thanks, your answer is correct too, but I picked the kind one with no UPPERCASE message ;-) – igorgue Mar 29 '11 at 6:11
No need to yell. – John Gardeniers Mar 29 '11 at 6:39
This is also technically incorrect. Presumably the domain resolves to an IP address, which is present on a server and may ping. – JamesHannah Mar 29 '11 at 7:27
JamesHannah - he's rude but he's right, and he explains your point of view, too rude though. – Chopper3 Mar 30 '11 at 8:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.