serverme tcp
Expose a local TCP service to the internet.
bash
serverme 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 serverme tcp 3306 --remote-port 33060
# Expose Redis serverme 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://serverme.site:10000 → localhost:5432Connect from anywhere: psql -h serverme.site -p 10000 -U myuser mydb