Home > OS >  I can access my heroku free subdomain site via a browser, but I can't ping to it in the termina
I can access my heroku free subdomain site via a browser, but I can't ping to it in the termina

Time:05-01

I have this site at heroku that I am trying to ping.
It says Ping request could not find host https://doc-hero.herokuapp.com/. Please check the name and try again. even though I can still open the site on a browser. I thought it was an issue with heroku so I hosted it again on pythonanywhere but it still won't ping.

I'm sure there is a simple explanation for this but I tried Google and still no luck.

Is there a way I can get it to ping?

You might be wondering why I want it to do that when I can still browse to it. Well, it's because I need it to be visible to Open AI so that it can access some documents over there.

CodePudding user response:

  1. remove https:// prefix. ping is a different protocol and requires DNS only not protocol prefix.
  2. heroku server still will probably not answer ping request as it is not required to.
  • Related