# Can you set a region for outbound IPs?

**URL:** <https://community.fly.io/t/can-you-set-a-region-for-outbound-ips/10887>\
**Category:** Questions / Help\
**Created:** [February 20, 2023, 11:20pm UTC](https://community.fly.io/t/can-you-set-a-region-for-outbound-ips/10887 "2023-02-20T23:20:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgmontoya](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jgmontoya](https://community.fly.io/u/jgmontoya)\
**Post date:** [February 20, 2023, 11:20pm UTC](https://community.fly.io/t/can-you-set-a-region-for-outbound-ips/10887/1 "2023-02-20T23:20:14Z")

</div>

My app connects to some external APIs which have regional ip blocks. I thought that by having my app on a specific region the requests made by it would come from an ip from that region but that’s not the case. Suddenly my app’s IP changed and my requests started to fail due to that.

I’ve tried allocating a private ip `fly ips allocate-v4` (this allocated to the US which is a no-go for my app) and also passing the `--region` flag (which causes an error).

Is there a way to specify a region for my outbound ip?

---

<div class="post-metadata">

**Author:** ![ignoramous](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@ignoramous](https://community.fly.io/u/ignoramous)\
**Post date:** [February 21, 2023, 12:58am UTC](https://community.fly.io/t/can-you-set-a-region-for-outbound-ips/10887/2 "2023-02-21T00:58:37Z")

</div>

> [@jgmontoya](#):
>
> there a way to specify a region for my outbound ip?

You can specify an ingress region (by allocating a region-specific IP), and the egress region is _likely_ to be the same: [Multi-region application where users / sessions are pinned to one region? - #5 by ignoramous](https://community.fly.io/t/multi-region-application-where-users-sessions-are-pinned-to-one-region/7020/5)

But otherwise, it isn’t possible to assign outgoing IPs as of today: [Set/get outgoing IP address for whitelisting on external APIs/Hosts - #12 by ignoramous](https://community.fly.io/t/set-get-outgoing-ip-address-for-whitelisting-on-external-apis-hosts/3690/12) | [Outbound IP from a certain region - #2 by ignoramous](https://community.fly.io/t/outbound-ip-from-a-certain-region/9438/2)

---

<div class="post-metadata">

**Author:** ![jgmontoya](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jgmontoya](https://community.fly.io/u/jgmontoya)\
**Post date:** [February 21, 2023, 10:24pm UTC](https://community.fly.io/t/can-you-set-a-region-for-outbound-ips/10887/3 "2023-02-21T22:24:44Z")

</div>

Thanks for your response!

I gave it a try but it doesn’t quite solve my issue. Is being able to assign an outgoing IP/region something that’s going to be supported in the future? If so is there any broad timeline as to when we could expect such a feature?
