Source: https://proxvn.io.vn/docs/troubleshooting

# Troubleshooting

## "Local service is not responding" (502)

The tunnel is connected, but your app isn't running or listens on a different port. Check with ` curl http://localhost:3000 `. If the app only listens on a LAN IP, use ` --host `.

## "Tunnel offline" (404)

No client currently holds that subdomain: the ProxVN window was closed or the client is reconnecting. Start it again.

## Cannot connect to the server

- Make sure outbound TCP port ` 8882 ` isn't blocked (some corporate networks block it).
- Run ` proxvn version ` and update using the commands on the [installation page](https://proxvn.io.vn/download); 9.x requires matching upgraded clients and server.
- "Server certificate changed": stop and verify the new SHA-256 fingerprint with the operator through a trusted channel. For a confirmed self-hosted rotation, update an explicit/configured pin or remove only that host:port entry from ` ~/.proxvn/known_servers.json `. Deleting a remembered entry does not override an official built-in pin; use a verified replacement client or an independently verified ` --cert-pin `. Do not bypass the warning with ` --insecure `.

## My subdomain changed to a random one

The name is in use, reserved by another account, a system name, or shorter than 3 characters. [Reserve it](https://proxvn.io.vn/docs/account) to keep it permanently.

## "Too many tunnels" or "rate limit"

Anonymous tunnels use a per-IP cap (default 20); account tunnels use a separate per-account cap (default 10). The Console shows current account limits, which are not necessarily higher. Registration and visitor rate limits are separate abuse controls.

## Vite / Next.js "Invalid Host header"

ProxVN sends ` Host: localhost:PORT ` to your app, so most dev servers work as-is. If yours still refuses, set ` server.allowedHosts: true ` (Vite) or read ` X-Forwarded-Host ` for the public hostname.

[← Self-host a server](https://proxvn.io.vn/docs/self-host)
