Short answer: the quickest way to put a service on localhost on the internet is a tunnel that opens an outbound connection from your computer, so you do not have to forward ports or get a static IP. Install the Zorven client, run zorven 3000, and the app on port 3000 gets an HTTPS address with a valid certificate. This guide covers installation, a stable name, password protection and when not to expose something, with a short comparison of ngrok, Cloudflare Tunnel, Tailscale Funnel, port forwarding and SSH reverse tunnels.
Why can't the internet reach localhost?
localhost (127.0.0.1) only ever means your own machine; from another device the same address points back to that device. At home or in the office your computer also sits behind the router's NAT, and many ISPs put customers behind a shared IPv4 address with CGNAT. Inbound connections never reach you. A tunnel reverses the direction: the client connects out to a server, and visitor traffic comes back to you over that connection.
Step 1: Install the client and save your token
- Create a free account at panel.zorven.app, create a client and copy the token starting with
zrv_live_. The token is a device identity; keep it secret. - On Linux or macOS run the install script (download it with
-o install.shfirst if you want to read it):
On Windows, open PowerShell as Administrator:curl -fsSL https://zorven.app/install.sh | sudo bash -s -- --token zrv_live_...
The desktop app is on the download page if you prefer a GUI.irm https://zorven.app/install.ps1 | iex - If you did not pass the token during install, save it:
zorven authtoken zrv_live_...
Step 2: Run your app and publish it with zorven 3000
Your local app needs to listen on a port. If you have nothing ready, serve a folder to try it:
python3 -m http.server 3000
In another terminal, open the tunnel:
zorven 3000
zorven http 3000 does the same. The client prints a status box: the public https://<name>--<slug>.zorven.app address is live immediately with valid TLS, and WebSocket, HTTP/2 and SSE work.
Step 3: Share the HTTPS address and watch requests
Open the address from your phone or another network. The Requests page in the dashboard shows each request's method, path, status and duration; turn on capture to see headers and bodies and replay a request with one click (handy for webhooks, see test webhooks locally).
On the Free plan, the first visit to a zorven.app HTTP tunnel shows a one-time notice page (remembered for one day); webhooks and API clients are not affected, and paid plans and custom domains never show it.
Step 4: Keep the address stable
- Same name: running
zorven 3000again from the same client on the same port keeps the same tunnel name, so you do not have to re-share the link. - Always on: to bring the tunnel up when the machine boots, install it as a service:
sudo zorven service install --token zrv_live_... --server zorven.app:443 - Temporary address: for a demo or a short test, open a tunnel that deletes itself:
zorven ephemeral 3000 --ttl 30m - Your own domain (for example
demo.yourcompany.com) is available on Hobby and up, shortname.zorven.appnames on Pro and up; certificates are automatic.
Step 5: Protect it with a password or sign-in
Anyone who knows the address can open it. To limit access, turn on a password (Basic Auth) or Google/GitHub visitor login in the tunnel's access settings in the dashboard; both are on every plan. Visitors see a branded sign-in page, and curl or API clients pass with an Authorization: Basic header. Pro and up add an IP allowlist, WAF blocking and country rules; the full picture is on the security page.
When should you not expose localhost?
- Apps in debug mode. Django's
DEBUG=Trueor the Flask/Werkzeug debugger can show source code and settings on error pages, and some allow running code from the browser. Turn debug off first, or put a login in front of the tunnel. - Admin panels without authentication (database UIs, queue dashboards, Jupyter). Do not put them on a public address; add visitor login or do not expose them at all.
- Databases and SSH. Share them with specific people instead of a public HTTP address:
zorven share 5432 --to ali@example.com --name dbcreates an end-to-end encrypted (WireGuard) share the server cannot read. - Secret files. If you serve a folder statically, make sure it holds no
.env, keys or backups. - Dev server host checks. Tools like Vite do not answer unknown host names; add the tunnel address to
server.allowedHosts. Vite's docs warn thattrueopens the door to DNS rebinding attacks, so use an explicit list. Django'sALLOWED_HOSTSplays the same role.
Alternatives: which one when?
| Method | Setup | Behind CGNAT | HTTPS | Notes |
|---|---|---|---|---|
| Zorven | Client + zorven 3000 | Works | Automatic | Free: 2 tunnels, 5 GB/month; TCP and UDP too; open core |
| ngrok | Agent + ngrok http 3000 | Works | Automatic | Free: 1 GB and 20,000 HTTP requests per month, one dev domain, interstitial on browser traffic |
| Cloudflare Quick Tunnel | cloudflared tunnel --url http://localhost:3000 | Works | Automatic | No account; 200 in-flight requests, no SSE, testing only; a stable name needs your domain on Cloudflare |
| Tailscale Funnel | Tailscale + tailscale funnel | Works | Automatic | Beta; public ports 443, 8443 and 10000 only; ts.net names |
| Router port forwarding | Router settings + certificate | Does not work | Do it yourself | Needs a public IP and an open port; exposes your home IP |
| SSH reverse tunnel | Your own server + ssh -R | Works | Do it yourself | Needs a server with a public IP and GatewayPorts; you maintain it |
Detailed comparisons: ngrok alternative, Cloudflare Tunnel alternative and Tailscale Funnel alternative. For an SSH reverse tunnel, ssh -R 8080:localhost:3000 user@server is enough on your own server, but to listen on the server's public interface you must enable GatewayPorts in sshd_config and set up HTTPS yourself.
More guides: Minecraft server without port forwarding, Home Assistant remote access; all are listed under guides.
Frequently asked questions
zorven 3000; the app on port 3000 gets an https://name--slug.zorven.app address with a valid certificate. No port forwarding or static IP is needed.Sources
- Zorven docs: install, CLI and tunnels (accessed: 2026-11-12)
- Zorven pricing and plan limits (accessed: 2026-11-12)
- ngrok: free plan limits (accessed: 2026-11-12)
- Cloudflare: Quick Tunnels (TryCloudflare) (accessed: 2026-11-12)
- Tailscale Funnel (accessed: 2026-11-12)
- Vite: server.allowedHosts (accessed: 2026-11-12)
- OpenSSH ssh(1): -R remote forwarding (accessed: 2026-11-12)
- OpenSSH sshd_config: GatewayPorts (accessed: 2026-11-12)