what is the IP address of my heroku application

前端 未结 2 1062
鱼传尺愫
鱼传尺愫 2021-01-08 01:31

So in my django application, i\'m running a task that will request from an api some data in the form of json.

in order for me to get this data, i need to give the I

2条回答
  •  执念已碎
    2021-01-08 01:55

    Heroku does not provide a static IP by itself but you can use addons to achieve this goal. This limitation is discussed here - https://devcenter.heroku.com/articles/apex-domains

    Generally sites use URL instead of IP address to authenticate requests. You can use zerigo_dns to get an static IP address for your Heroku app.

提交回复
热议问题