Get IP of Heroku dynos

后端 未结 2 1784
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-15 19:11

I have a Heroku app making some API calls to an external service. There are some issues and the service wants to know what IPs are making the calls.

A lot of the basic

2条回答
  •  既然无缘
    2021-02-15 19:23

    According to the docs, Heroku Dynos can be any IP from an AWS Region. Having a dedicated/static IP for your Dynos is part of their enterprise offering.

    However, you can have a dedicated/static IP by adding an add-on (e.g. Fixie or Proximo)

    Also, you can have the Dynos make a GET request to https://httpbin.org/ip and it will respond with the Dynos public IP (more ideas in the comments section below).

提交回复
热议问题