deployzy tcp
Expose a local TCP service to the internet.
bash
deployzy tcp [port] [flags]Creates a TCP tunnel for any TCP-based service — databases, game servers, SSH, etc.
Examples
bash
# Expose PostgreSQL# Expose MySQL with specific remote port deployzy tcp 3306 --remote-port 33060
# Expose Redis deployzy tcp 6379 --name redis ```
Flags
| Flag | Default | Description |
|---|---|---|
--remote-port | auto (10000-60000) | Request a specific public port |
--name | — | Tunnel name/label |
Output
code
TCP tcp://deployzy.com:10000 → localhost:5432Connect from anywhere: psql -h deployzy.com -p 10000 -U myuser mydb