Why the endpoint is offline
| Cause | Fix | Step |
|---|---|---|
| The ngrok agent stopped: its terminal closed, the laptop slept, or a coding agent’s shell exited | Start the agent again with ngrok http <port> | Step 1 |
| You use a custom domain but started the agent without it | Add --url with your domain to the start command | Step 1 |
| The URL in the browser is wrong or out of date | Copy the current URL from the agent’s output or the dashboard’s Endpoints page | Step 2 |
| You need the share to stay up without watching a terminal | Publish with qURL: its background service keeps serving and reconnects on its own | Step 3 |
Steps
Start the ngrok agent again
ngrok returns ERR_NGROK_3200 when it cannot find a running agent for the endpoint. Start it again on the app’s port; with a custom domain, name the domain so the agent serves that endpoint. ngrok also offers endpoint pooling, which keeps the URL consistent when the agent restarts.
ngrok http 3000 ngrok http 3000 --url <your-url> # with a custom domainCheck: The agent prints a forwarding URL, and the URL opens your app.
Check the endpoint list
Once the agent is running, the Endpoints page of the ngrok dashboard (dashboard.ngrok.com/endpoints) shows every active endpoint on your account. If the URL you opened is not there, you have an old or mistyped URL.
Publish the app and make a link
qurl publishwaits until the route is serving, prints the app’s CRID and exits. The CRID belongs to the app’s address, so publishing the same address again returns the same CRID instead of a new URL.qurl sharemakes a link that opens once and expires within 24 hours.qurl publish http://127.0.0.1:3000 --name "App preview" qurl share <CRID>
What the recipient sees
A one-time qURL link grants access to the first person who opens it, with no LayerV account or client install.
More
qURL may show a preview before connection. Named invitees verify their email and save a passkey. Your app’s own login still applies, and your machine must stay awake with the app running.
Troubleshooting
| If you see | Do this |
|---|---|
| The endpoint goes offline every time I close the terminal | ngrok http runs in the foreground, so it ends with its terminal. Run it as a background service, or publish with qURL, whose background service keeps serving a running app after the publishing terminal closes. |
| A coding agent started ngrok, and the URL died when the agent finished | Processes an agent starts usually end with its shell. qurl publish installs a background service and exits, so the share outlives the agent’s session. An ngrok alternative for headless AI agents → |
Show 7 more fixes
| If you see | Do this |
|---|---|
| qurl publish says the local app is not accepting TCP connections | Start the app first and check that curl works on the same address. qurl publish connects to localhost as 127.0.0.1, so if your app listens only on IPv6 (on macOS or Linux, lsof -iTCP -sTCP:LISTEN -nP shows [::1]), publish 'http://[::1]:PORT' instead, or start the dev server with --host 127.0.0.1 and publish that address. Neither requires listening on your LAN. Keep the quotes: zsh treats the brackets as a pattern. |
| The recipient sees “Access link invalid” | The link was already used or has expired. Run qurl share again and send the new link. |
| The recipient sees “Resource not found” | The resource was deleted after the link was made. Publish the app again, then run qurl share and send the new link. |
| publish rejects http://127.0.0.1 with “only HTTPS URLs are allowed”, asks you to log in, prints no Access: line, or says “unknown flag: --name” | Your qURL CLI is out of date. On macOS run brew update, then brew upgrade qurl; elsewhere install the latest release. After updating, qurl --version prints 4.0.0 or later, and every publish is private by default. |
| publish says “a public name is required” in a script or agent run | Add --name "App preview" to the publish command, replacing App preview with a short public name for your app. Recipients can see this name; keep secrets and client details out of it. |
| publish says this Linux session “can’t reach a systemd user manager” | You are in a container or sandbox without a user service manager. Run qurl publish with --foreground; sharing lasts as long as that process runs. Container and CI setup → |
| publish says “Quota Exceeded” with “protected resource limit reached”, or “Your qURL account has reached a plan limit” | You can see this without an account: a device with no account can keep up to 3 active resources, with links that last up to 24 hours. Run qurl list --status active, then qurl delete <CRID> for any you no longer need (it asks you to confirm; --yes skips that). qurl stop keeps the resource, so it does not free a slot. |
Frequently Asked Questions
Does ERR_NGROK_3200 mean my app is down?
No. It means ngrok has no agent serving that endpoint. If the agent is running but your app is not answering, ngrok returns ERR_NGROK_8012 instead.
Does my computer have to stay on?
Yes. Keep your computer awake, connected, and your app running.
Who else can reach my app while the link is open?
Opening the link gives that browser access for 1 hour by default. Other browsers on the same public IP cannot use that session. Whoever opens the link first can use it. Scripts without a browser use IP-based access, which devices on the same public IP can share. Keep your app’s sign-in for sensitive data.