Skip to main content
Important: We are not able to provide support or guidance for unmanaged Postgres. We now offer Fly.io Managed Postgres , our fully-managed database service that handles all aspects of running production PostgreSQL databases.
Connection string URIs are a common way to describe a connection to a Postgres server. The output from flyctl postgres create provides a connection string of the format:
Fly Postgres is an app that belongs to your Fly organization. The hostname in this string resolves to an internal IPv6 address that can be reached by any of your apps that live in the same IPv6 private network. You can give this connection string to another Fly app by passing it as a secret, or by Attaching it.