# Is it possible to use a fixed IP?

**URL:** <https://community.fly.io/t/is-it-possible-to-use-a-fixed-ip/9179>\
**Category:** General\
**Created:** [December 4, 2022, 10:14pm UTC](https://community.fly.io/t/is-it-possible-to-use-a-fixed-ip/9179 "2022-12-04T22:14:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/charles/32/7609_2.png) [@charles](https://community.fly.io/u/charles)\
**Post date:** [December 4, 2022, 10:14pm UTC](https://community.fly.io/t/is-it-possible-to-use-a-fixed-ip/9179/1 "2022-12-04T22:14:54Z")

</div>

How can I use a fixed IP such that my HTTP request can be identified by the host I’m calling?

---

<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:** [December 4, 2022, 10:56pm UTC](https://community.fly.io/t/is-it-possible-to-use-a-fixed-ip/9179/2 "2022-12-04T22:56:14Z")

</div>

You can’t unless you use an external service: [Outbound IP Address - #8 by kurt](https://community.fly.io/t/outbound-ip-address/1366/8)

(I never got the time to do so myself, but) You can experiment _binding_ the outgoing connection (socket) to a public IPv6 address that is assigned to the VM to see if that works: [Static egress IP - #4 by ignoramous](https://community.fly.io/t/static-egress-ip/8417/4)

Also see: [Set/get outgoing IP address for whitelisting on external APIs/Hosts](https://community.fly.io/t/set-get-outgoing-ip-address-for-whitelisting-on-external-apis-hosts/3690)

> [@charles](#):
>
> How can I use a fixed IP such that my HTTP request can be identified by the host I’m calling?

If you control code deployed to both the host and its downstream dependencies, another way I can think of that IDs a set of hosts is to add a _secret_ https-only header (like a bearer token).

---

<div class="post-metadata">

**Author:** ![ariabov](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@ariabov](https://community.fly.io/u/ariabov)\
**Post date:** [March 10, 2024, 11:27pm UTC](https://community.fly.io/t/is-it-possible-to-use-a-fixed-ip/9179/3 "2024-03-10T23:27:11Z")

</div>

[Fixie](https://usefixie.com) is an option that provides [Fly.io](http://Fly.io) apps with a fixed set of static IP addresses for outbound requests. It is both language- and framework-agnostic. [Here](https://usefixie.com/documentation/fly) are the instructions for getting started.
