localhostfor.online
tunnels for developers

Expose your local dev server to the internet in seconds.

No configuration, no DNS setup, no TLS certificates — just a single command.

terminal
$ npx localhostforonline tunnel --port 3000

How it works

A secure reverse proxy between visitors and your machine.

Visitor
browser
localhostfor.online
edge proxy
secure tunnel
wss://
your machine
localhost:3000
request →← responselive · 4ms round-trip
  1. 1
    You start a tunnel from your machine to localhostfor.online
  2. 2
    The platform generates a unique public URL for your project
  3. 3
    Anyone with that URL can access your local server through the tunnel

Quick start

Run one command. Open the URL. Your local app is online.

~/your-project
 npx localhostforonline tunnel --port 3000

Tunnel created!
✓ Your URL: https://localhostfor.online/project-abc123
✓ Local:    localhost:3000

Built 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.

Commands
  • localhostforonline tunnel --port <port>

    Expose a local port

  • localhostforonline tunnel --port 3000 --api-key x

    Link the tunnel to your account

  • localhostforonline register

    Generate an auth token

  • localhostforonline login <token>

    Save your auth token

Flags
  • --port

    Local port to expose

  • --api-key

    API key to link the tunnel to your account

  • --url

    Full local URL (alternative to --port)