# Expose Localhost to the Internet with One Command — A Free ngrok Alternative

Your app runs on localhost but your client wants a live demo link. One command — proxvn http 3000 — gives it a public HTTPS URL. No port forwarding, no NAT config, fixed subdomain on a free account.

Source: https://proxvn.io.vn/blog/expose-localhost-to-internet-proxvn

## The "send me a demo link" problem

You just finished a feature and your client asks: "Send me a demo link so I can check it on my phone." But the app is running on ` localhost:3000 ` — there is no link to send.

Most developers reach for ngrok, but the free tier has real friction:

- The **domain changes every time** you restart the tunnel, so you keep re-sending links.
- **Session limits** and an **interstitial warning page** that makes demos look unprofessional.
- A fixed domain means paying for a subscription.

ProxVN ([https://proxvn.io.vn/](https://proxvn.io.vn/)) solves exactly this: expose localhost to the internet with **one command**, use it anonymously with no signup, and get a **fixed subdomain** when you create a free account.

## Step 1: Run your app locally as usual

Your app should be reachable at ` http://localhost:3000 ` in your own browser (Node.js, Go, PHP or a static folder — anything works).

## Step 2: Install ProxVN with one command

**Linux / macOS / Android (Termux):**

```
curl -fsSL https://proxvn.io.vn/install.sh | sh
```

**Windows (PowerShell):**

```
irm https://proxvn.io.vn/install.ps1 | iex
```

ProxVN is a **single static Go binary** — lightweight, no runtime dependencies, available for Windows, macOS, Linux and Android (Termux).

## Step 3: Expose port 3000

```
proxvn http 3000
```

You get a public URL like ` https://...proxvn.io.vn `. Open it **on your phone over mobile data** — your local app appears exactly as on your machine. HTTP/HTTPS tunnels support **WebSocket & SSE**, so realtime apps and hot reload keep working.

In anonymous mode (no account), visitors opening the link in a browser see a **safety warning page** first (anti-phishing). **APIs, webhooks and ` curl ` go straight through** — no interstitial.

## Step 4 (recommended): Free account = fixed subdomain

Create a free account at [https://proxvn.io.vn/](https://proxvn.io.vn/) to get an API key, then run:

```
proxvn http 3000 --subdomain myapp
```

Your URL is now permanently ` https://myapp.proxvn.io.vn ` — restart the tunnel as often as you like, the link never changes. A free account also:

- **Removes the warning page** for browser visitors.
- Raises your limits: up to **10 tunnels per account** and **3 fixed subdomains per account**.

## Safety notes

- A public link means **anyone with the link can reach your app**: share it only with people who need it, and **stop the tunnel with ` Ctrl + C `** when you are done.
- **Never expose internal admin panels** (database tools, admin dashboards) to the internet.
- Need full control? ProxVN is **open source** — you can **self-host the tunnel server on your own VPS**.

## Wrap-up

One command, ` proxvn http 3000 `, turns localhost into a shareable public link — no port forwarding, no NAT configuration.

👉 **Try it now:** [https://proxvn.io.vn/download](https://proxvn.io.vn/download) — full docs: [https://proxvn.io.vn/docs/](https://proxvn.io.vn/docs/) — source: [https://github.com/hoangtuvungcao/proxvn_tunnel_full](https://github.com/hoangtuvungcao/proxvn_tunnel_full)
