Flycast provides network addressing and routing for private apps on Fly.io private networks. With Flycast, requests to your private apps get routed through the Fly Proxy, rather than Machine-to-Machine via default private networking. And unlike private networking using .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:
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 to fly-local-6pn:<port> won’t work for Flycast.)
Services configured in your app’s fly.toml with an [http_service] or [services] section. Don’t use force_https; Flycast is HTTP-only.
Warning: If you have public IP addresses assigned to your app, then services in fly.toml are exposed to the public internet. Verify your app’s IP addresses with fly ips list, and remove public IP addresses as needed with: fly ips release [ip address] [ip 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:
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:
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 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 at my-app-name.flycast.