All threads / How can I whitelist an heroku app for external api?
Ask A Question


You’re not receiving notifications from this thread.

How can I whitelist an heroku app for external api?

Nathaniel Mak asked in General

I have a situation where I would need a static ip for my app in order to get whitelisted from a third party api, but heroku doesn’t support this. Has anyone got managed to find a fix around this anyway?

I'm not sure about options for Heroku, but when you use a VPS (like DigitalOcean) you get a static IP for your server (as long as you don't destroy the server).

You can also get a Floating IP that allows you to swap out the server behind that IP seamlessly so the IP does not change. That's what I use for my apps that I deploy with

I should probably take a look at hatchbox. It seems that heroku doesn’t support this. Unfortunate since I enjoyed how they had set up the staging and production splits.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 61,257+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.