Expose your local dev server to the internet in seconds.
No configuration, no DNS setup, no TLS certificates — just a single command.
$ npx localhostforonline tunnel --port 3000How it works
A secure reverse proxy between visitors and your machine.
- 1You start a tunnel from your machine to localhostfor.online
- 2The platform generates a unique public URL for your project
- 3Anyone with that URL can access your local server through the tunnel
Quick start
Run one command. Open the URL. Your local app is online.
npx localhostforonline tunnel --port 3000
Tunnel created!
✓ Your URL: https://localhostfor.online/project-abc123
✓ Local: localhost:3000Built for fast feedback
Everything you need to test, demo, and debug from your laptop.
Secure tunnels
All traffic is encrypted end-to-end. Your local server is never directly exposed to the public internet.
Live dashboard
Watch every request in real time — methods, paths, status codes, response time, and bandwidth per tunnel.
Account & history
Sign in with WhatsApp OTP, get an API key, and link tunnels to your account for permanent request history.
Anonymous access
Share a tunnel's request log via URL — no account required for collaborators to debug with you.
CLI
A single binary, a few flags. That's it.
localhostforonline tunnel --port <port>Expose a local port
localhostforonline tunnel --port 3000 --api-key xLink the tunnel to your account
localhostforonline registerGenerate an auth token
localhostforonline login <token>Save your auth token
--portLocal port to expose
--api-keyAPI key to link the tunnel to your account
--urlFull local URL (alternative to --port)