Private IP Changed

I noticed today that the private ip that I had allocated for one of my apps changed. I was under the assumption that it would not change. Is there a way to allocate a private ipv6 address that will not change?

Hi,

Just to make sure, you want to use this private IP to communicate between two Fly apps, right?

If so, Private Networking · Fly Docs might be helpful. At the end of that docs you can find an example app that looks up for other apps on the same network by its internal addresses.

Let me know if that is what you are looking for.

Only the private Flycast IPs (ref, see also) are guaranteed to not change.

The instance-specific private 6pn IP may change (why) if the app hops on to another instance (which can happen for a variety reasons, even if it wouldn’t happen often).

1 Like

Just to make sure, you want to use this private IP to communicate between two Fly apps, right?

Yep, that’s correct. I was using the IP address directly, but sounds like I should use the <app-name>.internal url instead. Thanks!

2 Likes

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