ssh -L 8080:localhost:3000 user@203.0.113.10

Category: VPS Management

ssh -L 8080:localhost:3000 user@203.0.113.10

Forward a remote app port to your local machine for browser testing

Tunnels the server's port 3000 to your local port 8080. Open http://localhost:8080 in your browser to access the remote app without opening a public firewall port.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.