
.internal addresses you don’t need to keep Machines running for the app to be reachable.
Use Flycast within your organization’s private network to:
- Have Fly Proxy autostop/autostart Machines based on network requests.
- Get Fly Proxy’s geographically aware load balancing for private services.
- Connect to a service from another app that can’t use DNS.
- Connect from third-party software, like a database, that doesn’t support round-robin DNS entries.
- Access specific ports or services in your app from other Fly.io organizations.
- Use advanced Fly Proxy features like TLS termination or PROXY protocol support.
Flycast quickstart
The fastest way to create a new private app with a Flycast address:my-app-name.flycast, from other apps in the organization’s default private network.
Flycast requirements
To use Flycast for your app, you need:- A Flycast private IPv6 address for your app on one of your Fly.io organization networks.
- Your app to bind to
0.0.0.0:port. (Binding tofly-local-6pn:<port>won’t work for Flycast.) - Services configured in your app’s
fly.tomlwith an[http_service]or[services]section. Don’t useforce_https; Flycast is HTTP-only.
Allocate a Flycast address
A Flycast address is an app-wide private IPv6 address that Fly Proxy can route to over the private network. By default, the Flycast IP address is allocated on an app’s default organization network. There are a few ways to add a Flycast address to an existing app. Allocate a Flycast address on deploy:Access an app from another organization
You can use Flycast to expose an app in one Fly.io organization to another Fly.io organization; the app won’t be accessible via Flycast from its own organization. Use the--org option when you allocate the Flycast address:
Access an app from another private network
You can also use Flycast to expose an app on one private network to another private network in your organization; the app won’t be accessible via Flycast from its own network. Use the--network option to specify the network from which requests will originate:
Flycast and Fly.io DNS
Flycast addresses can also be found by using the Fly.io DNS. If an app has a Flycast address allocated to it, there will be an AAAA record atmy-app-name.flycast.