I have an application running on heroku, say my-app.herokuapp.com. However, if I type
my-app.herokuapp.com
ping -c 10 my-app.herokuapp.com
in Mac t
Ping uses a different protocol vs opening it in a browser. Ping uses ICMP whereas your browser will be using TCP. It would seem Heroku simply block the ICMP protocol which is fairly common as it can be abused (try pinging www.microsoft.com also)