Home > Software engineering >  How to get heroku websites IP Addresss?
How to get heroku websites IP Addresss?

Time:03-11

I will integrate a rest api for my website. Integrator company wants an IP address for restrictions. I will send my computer ip for development and website (provider: heroku) ip for production. But i cant figure how the obtain these informations. Can anybody help or send an documentation about it?

CodePudding user response:

Heroku does not provide a static IP.

Yet, here are 3 ways to make it work :

  1. Give the domain address instead of an IP address to the integrator.

As Heroku is using volatile IP addresses, This is the best way.

  1. Use an Add-on, Fixie or Guru301 seems to do exactly that

  2. not recommended : Add a DNS A-record You can hard code your IP but it doesn't look stable

  • Related