Tunnel a database over TCP
Not everything is HTTP. Burrow tunnels raw TCP too, so you can give a database a public address for a teammate, a CI job, or a hosted tool that needs to connect to a database running on your machine. Point `burrow tcp` at the port — 5432 for Postgres, 3306 for MySQL, 6379 for Redis — and Burrow returns a host and port you can plug into any client. TCP tunnels are a paid feature; the data path stays on the EU edge.
One command: burrow tcp 5432
Start a free trial · Read the docs
Three steps
- Tunnel the database port - Run `burrow tcp 5432` for Postgres (or 3306 for MySQL, 6379 for Redis). Burrow returns a public host:port that forwards to your local database.
- Connect with any client - Use the printed host and port in psql, your ORM, a GUI client, or a hosted tool — the connection forwards over the EU edge to your local database.
- Close when you are done - Stop the command to tear the tunnel down. Run `burrow tunnels` to see what is still open for your team.
Frequently asked questions
- How do I expose a local Postgres database?
- Run `burrow tcp 5432`. Burrow returns a public host and port that forwards raw TCP to your local Postgres, so any client can connect. TCP tunnels are a paid feature.
- Does it work for MySQL and Redis too?
- Yes. `burrow tcp` forwards raw TCP regardless of protocol — point it at 3306 for MySQL, 6379 for Redis, or any other TCP port.
- Is exposing a database safe?
- Treat any public database endpoint with care: use strong credentials, prefer a short-lived tunnel, and close it when finished. The tunnel itself is TLS-secured on the edge and scoped to your session.
- Where does the traffic go?
- Through Burrow’s EU edge (Hetzner, Germany/Finland). The connection is per-session isolated with no cross-tenant visibility.
Related guides & pages
Database tunneling in one command
burrow tcp 5432 — EU-hosted, DSGVO-first, MCP-native.