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
fly mpg proxy <CLUSTER ID> [flags]
Options
-b, --bind-addr string Local address to bind to (default "127.0.0.1") -h, --help help for proxy -p, --local-port string Local port to proxy on (default "16380")
Global Options
-t, --access-token string Fly API Access Token --debug Print additional logs and traces --verbose Verbose output