Skip to content
ResolveLabs Tunnel

TCP tunnels

Expose PostgreSQL, Redis, SSH or any TCP service temporarily with rl-tunnel tcp.

1 min read

Not everything speaks HTTP. A TCP tunnel forwards raw connections, which is ideal for temporarily giving another developer access to your local PostgreSQL. TCP tunnels need a free account (rl-tunnel auth login).

terminal
rl-tunnel tcp 5432
output
Tunnel Status:    ● OnlineForwarding:       tcp://tcp-xyz.t.resolvelabs.com.br:21874 -> localhost:5432

Connecting

Share the host and port with the other developer. They connect with any standard client:

terminal
# The other dev connects with any Postgres clientpsql "postgresql://user:pass@tcp-xyz.t.resolvelabs.com.br:21874/mydb"

Common ports

ServiceCommand
PostgreSQLrl-tunnel tcp 5432
MySQLrl-tunnel tcp 3306
Redisrl-tunnel tcp 6379
SSHrl-tunnel tcp 22