# One Laptop, Five Public URLs: Run Your Whole Local Stack Behind Free Tunnels

A real local stack is never one port — it's a frontend on 3000, an API on 4000, maybe a docs site or a database admin panel too.

Source: https://proxvn.io.vn/blog/run-multiple-local-services-one-machine-proxvn

> **TL;DR:** A real local stack is never one port — it's a frontend on 3000, an API on 4000, maybe a docs site or a database admin panel too. The naive way is one tunnel per service and a fistful of random URLs that change on restart. With a free ProxVN account you get 10 tunnels and 3 fixed subdomains, so each service gets a stable address of its own: ` app `, ` api `, ` docs ` — no paywall, no wildcard-domain setup, no second tool.

![One laptop, a public URL for every local service](https://raw.githubusercontent.com/hoangtuvungcao/proxvn-blog-images/main/multiple-services-tunnels.png) *One laptop, four services, four public URLs — each service gets its own tunnel, and account users keep their subdomain names across restarts.*

## The mess every local stack turns into

Picture the usual afternoon. React on ` localhost:3000 `, a Node API on ` localhost:4000 `, a Python inference service on ` localhost:5000 `. You open three tunnels and get three random addresses. Then the pain starts:

- Your webhook provider wants a stable callback URL. The random address changes every restart, so you reconfigure it every morning.
- Your frontend calls the API across origins — ` abc123 ` calling ` xyz789 ` — and the browser blocks it with CORS errors that have nothing to do with your code.
- A teammate asks for "the link". Which one? There are three, and none of them mean anything.

The fix isn't a fancier tunnel. It's giving every service a name that survives restarts, so the whole stack behaves like a tiny deployment instead of three accidents.

## The setup: one named tunnel per service

Create a free ProxVN account, then open one tunnel per service with a fixed subdomain. Three terminal windows, three commands:

```
proxvn http 3000 --subdomain myapp
proxvn http 4000 --subdomain myapi
proxvn http 5000 --subdomain mydocs
```

![Installing ProxVN](https://raw.githubusercontent.com/hoangtuvungcao/proxvn-blog-images/main/multi-install.png) *Installing ProxVN is one command — the official installer verifies the SHA-256 checksum before installing the client.*

That's the whole architecture. Your stack is now:

| Service | Local port | Public URL |
| --- | --- | --- |
| Frontend | 3000 | ` https://myapp.proxvn.io.vn ` |
| API | 4000 | ` https://myapi.proxvn.io.vn ` |
| Docs / ML service | 5000 | ` https://mydocs.proxvn.io.vn ` |

A free account allows 10 tunnels and 3 fixed subdomains, so a three-service stack fits comfortably, with room for a webhook receiver or a second project. Configure CORS once for ` https://myapp.proxvn.io.vn ` calling ` https://myapi.proxvn.io.vn `, and it keeps working — no more chasing random addresses. Your Stripe or GitHub webhook points at ` https://myapi.proxvn.io.vn/webhooks/stripe ` and stays correct across restarts.

If a service runs on another machine on your LAN instead of your laptop, point the tunnel at it with ` --host `:

```
proxvn http 8080 --host 192.168.1.10 --subdomain grafana
```

No account? You can still run all of this — anonymous tunnels work immediately, with a random subdomain per tunnel. The only difference is that the names change on restart and browser visitors see a safety warning page. For a weekend demo that's fine; for anything you configure once and reuse, the free account is worth the two minutes.

## Keep them alive when you walk away

Tunnels die when the laptop sleeps or the terminal closes, and a demo that dies mid-sentence is worse than no demo. Two things I verified in ProxVN's own docs on 3 December 2026 make this manageable:

1. **Re-running the same command restores the same address.** ProxVN stores a session key in ` ~/.proxvn/sessions.json `, so if the connection drops, the client reconnects with backoff and gets the same subdomain or port back — 10 minutes of hold for anonymous tunnels, 24 hours for account tunnels.
2. **Run tunnels as services, not terminal windows.** On Linux, a systemd unit per service keeps the tunnel up across reboots. This is the exact shape from ProxVN's CLI docs:

```
# /etc/systemd/system/proxvn-myapp.service
[Unit]
Description=ProxVN tunnel for myapp
After=network-online.target

[Service]
ExecStart=/usr/local/bin/proxvn http 3000 --subdomain myapp --ui=false
Restart=always
RestartSec=3
User=youruser

[Install]
WantedBy=multi-user.target
```

```
sudo systemctl daemon-reload
sudo systemctl enable --now proxvn-myapp
sudo systemctl status proxvn-myapp --no-pager
```

On Windows, a shortcut to ` proxvn.exe http 3000 --ui=false ` in ` shell:startup ` does the same job. One service file per tunnel, and the stack comes back on its own after a reboot.

## How this compares

| Approach | Multiple services | Cost for named URLs |
| --- | --- | --- |
| ProxVN (free account) | 10 tunnels, each with its own subdomain | Free — 3 fixed subdomains included |
| Pinggy Multi Port Forwarding | One tunnel, many subdomains via wildcard domain | Pro plan (paid) — the feature launched as a Pro-only add-on in October 2026 |
| Cloudflare Tunnel | Many hostnames via ` ingress ` rules in ` config.yml ` | Free, but needs your own domain on Cloudflare DNS and more setup |

Pinggy's multi-port feature is genuinely elegant — one tunnel, wildcard routing like ` cars.example.com → :7070 ` — but it sits behind a paid plan and needs a wildcard domain of your own. Cloudflare's version is free and powerful, but you're writing YAML and managing DNS. ProxVN's answer is deliberately boring: run the same one-line command once per service. Boring is a feature when you're debugging your app, not your tunnel.

## FAQ

**Can I put everything behind one URL with paths instead, like ` /api `?** Not with separate HTTP tunnels — each tunnel is one hostname. If you truly need path routing under one domain, put a small reverse proxy (Caddy, nginx) on one local port and tunnel that single port instead.

**Do TCP services work the same way?** Yes — ` proxvn tcp 5432 ` for a database, ` proxvn tcp 22 ` for SSH, ` proxvn udp 19132 ` for a game server. TCP and UDP tunnels get a random public port in the 10000–20000 range, held the same way as subdomains.

**What about the 10-tunnel limit?** It's per account on the public server. Ten named tunnels cover most local stacks; if you outgrow it, self-hosting ProxVN on your own VPS removes the operator's limits entirely.

## Try it

Give each service on your laptop a name that sticks:

👉 [https://proxvn.io.vn/](https://proxvn.io.vn/) — download at [https://proxvn.io.vn/download](https://proxvn.io.vn/download)

*Written by the ProxVN team. Limits and behaviours verified against the official ProxVN docs (proxvn.io.vn/docs/cli and /docs/addresses) on 3 December 2026, ProxVN 9.x. Pinggy Multi Port Forwarding pricing from its Product Hunt launch, October 2026.*

**Related reading:** [What Is ProxVN?](https://proxvn.io.vn/blog/what-is-proxvn-localhost-to-internet-one-command) · [Test Webhooks on Localhost](https://proxvn.io.vn/blog/test-webhooks-on-localhost-proxvn) · [Expose Your Local Ollama LLM to the Internet Safely](https://proxvn.io.vn/blog/expose-ollama-llm-to-internet-proxvn)
