Access static IP address in app

Hi there,

My backend connects to an API that I can only whitelist one IP at a time. Given that, I want to provide a switch case to pass in my appropriate token and secret to my API depending on where the request is coming from.

Is there a way to expose the static IP address within an applications ENV? I know it’s going to be one of the three that Render tells me it will be, but I need to know which specifically every time.

Hi,

There’s not currently a way to determine which outbound IP will be used.

If you need a single static IP, you may need to look into services like Quotaguard.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.