What is the IP address of my heroku application

So, in my django application, I run a task that will request api some data in json form.

to get this data, I need to specify the IP address from which the requests will come (my heroku application)

how can I get the ip address in which my heroku application will request from

+7
python django heroku
source share
2 answers

Heroku does not provide a static IP address on its own, but you can use add-ons to achieve this. This limitation is discussed here - https://devcenter.heroku.com/articles/apex-domains

Typically, sites use URLs instead of IP addresses to authenticate requests. You can use zerigo_dns to get the static IP address for your Heroku application.

+5
source share

As far as I know, you cannot get ip for heroku application. You can create a proxy with a known ip, which will be used by the intermediary for the application. Otherwise, you can see if the hero is the right decision for you.

+3
source share

All Articles