2

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

Check this one: klusteranalytics.com

$ ping klusteranalytics.com
PING klusteranalytics.com (50.17.214.205): 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://klusteranalytics.com
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
igorgue
  • 188

2 Answers2

7

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 klusteranalytics.com 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.

  • 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 06:10
-6

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.

TomTom
  • 51,864
  • 7
  • 55
  • 136