# ry proxy

> Forward a local port to a machine, e.g. `ry proxy my-db 15432:5432` then `psql -h 127.0.0.1 -p 15432`.

```text
ry proxy [options] <app> [ports]
```

## Options

- `-m, --machine <id>`: Which machine (default: a running one).
- `--host <addr>`: Local bind address. Default: `127.0.0.1`.

## Example

```bash
ry proxy appdb 15432:5432
```
