Why can't I ping herokuapp

前端 未结 1 1973
北恋
北恋 2021-01-05 07:47

I have an application running on heroku, say my-app.herokuapp.com. However, if I type

ping -c 10 my-app.herokuapp.com

in Mac t

相关标签:
1条回答
  • 2021-01-05 08:20

    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)

    0 讨论(0)
提交回复
热议问题