1ctl postgres proxy
Forward a local TCP port to a managed Postgres cluster.
1ctl postgres proxy <cluster>Arguments
Section titled “Arguments”| Argument | Required | Variadic |
|---|---|---|
cluster |
Yes | No |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--bind-addr |
string | No | "127.0.0.1" |
Local address to bind |
--local-port |
string | No | "15432" |
Local port to listen on |
--help, -h |
boolean | No | — | Show help |
Example
Section titled “Example”1ctl postgres proxy my-db --local-port 5432