Skip to main content
Forward a local port to a Managed Postgres cluster over your organization’s WireGuard network, so any Postgres client on your machine can connect to it. By default it listens on 127.0.0.1:16380; change this with —bind-addr and —local-port. The proxy runs until you stop it. With no cluster ID, you pick an organization (unless FLY_ORG is set) and a cluster from lists in a terminal; without a terminal, the cluster ID is required. To open psql directly, use fly mpg connect.

Usage

Options

Global Options

See Also

  • fly mpg - Manage Managed Postgres clusters