I can not ping my site

hacikho's Avatar

hacikho

23 Feb, 2018 09:21 PM

Hi, I have three application on appharbor, I can access them through the browser, but when I want to ping them I got timed out an error.
C:\Users\Haci>ping freelancetimecardtracker.apphb.com

Pinging ec2-50-17-211-206.compute-1.amazonaws.com [50.17.211.206] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 50.17.211.206:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Users\Haci>ping echo-flash.apphb.com

Pinging ec2-50-17-211-206.compute-1.amazonaws.com [50.17.211.206] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 50.17.211.206:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

  1. Support Staff 1 Posted by rune on 23 Feb, 2018 11:38 PM

    rune's Avatar

    Hi,

    AppHarbor load balancers only respond to traffic on TCP ports 80 and 443 (for HTTP and HTTPS respectively), so ICMP pings will always timeout. Any particular reason you want to ping them?

    Best,
    Rune

  2. 2 Posted by hacikho on 26 Feb, 2018 09:14 PM

    hacikho's Avatar

    Hi Rune,

    Thanks for your reply, just to make sure my site is accessible and wanna
    try to ping when it did not work I was curious about it.

    Best Regards,
    Haci Karahasanoglu
    Software Developer
    www.hacikho.com [3]

  3. Support Staff 3 Posted by rune on 26 Feb, 2018 09:35 PM

    rune's Avatar

    Hi Haci,

    Ok got it -- I think in any case testing website availability isn't the best solution as it can easily result in false negatives (as you've experienced since a ping will never succeed), but also false positives in the event that the load balancer responds successfully to a ping request but the website is still down. Instead I'd recommend using curl or similar to make requests to your website, or alternatively set up a website tracker such as Pingdom to test your website.

    Best,
    Rune

  4. rune closed this discussion on 26 Feb, 2018 09:35 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac