# 5050 tcp-proxy

> Expose a TCP port of the linked service on a public port.

Expose a TCP port of the linked service on a public port.

## Usage

```sh
5050 tcp-proxy list
5050 tcp-proxy add --port PORT
5050 tcp-proxy delete ID
```

## Flags

| Flag | Meaning |
|---|---|
| `--port PORT` | Container port to expose |

## Details

- The public port is picked from 20000 to 29999 on every ingress host.

## Railway equivalent

`railway tcp-proxy` works the same way through the [railway alias](https://5050cloud.com/docs/cli/railway-alias).

Every command also accepts the [global options](https://5050cloud.com/docs/cli/global-options).
