DocsCLIdeployzy tcp

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

FlagDefaultDescription
--remote-portauto (10000-60000)Request a specific public port
--nameTunnel name/label

Output

code
  TCP  tcp://deployzy.com:10000 → localhost:5432

Connect from anywhere: psql -h deployzy.com -p 10000 -U myuser mydb