Why you hit the limit, and the fix
| Cause | Fix | Step |
|---|---|---|
| An old ngrok process is still running, in another terminal, a background job or a coding agent’s shell | Find it and stop it, or end it from the Agents page of the ngrok dashboard | Step 1 |
| You start one ngrok per app or port | Define the endpoints in the agent configuration file and run them all from one agent with ngrok start --all | Step 2 |
| You share several apps at once and keep juggling sessions | Publish each app with qURL: your per-user background service serves them all, and qurl list shows every one | Step 3 |
Steps
Find and stop the ngrok agents you forgot
ngrok’s fix starts here: stop agent sessions you no longer need. The usual culprit is a second ngrok: a terminal tab you left open, a background job, or a coding agent that started ngrok http in the background and moved on. The Agents page of the ngrok dashboard lists every online agent on the account, including ones on other machines.
pgrep -fl ngrok # list ngrok processes on this machine pkill ngrok # stop all of themCheck: pgrep prints nothing, and the dashboard’s Agents page shows the sessions you meant to keep.
Run several endpoints from one agent
One agent session can serve several endpoints. The error message itself suggests defining them in the agent configuration file and starting them together, so they count as one session. How many endpoints one agent may run depends on the plan; the free plan allows up to 3 online endpoints.
ngrok docs: Agent configuration file →
ngrok start --allOr publish each app with qURL
On macOS, install it with Homebrew. On Linux and Windows, download the package for your platform from the latest release; the CLI page lists each one. For commands with --name, qurl --version must print 4.0.0 or later. Update an older CLI before copying those commands. Nothing asks you to sign up. Each app you publish becomes its own private resource. The background service reconnects after sleep and network changes. Each app stays available after you close the terminal while the machine is awake and the app is running.
brew install layervai/tap/qurl brew upgrade qurl qurl --version
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 |
|---|---|
| ERR_NGROK_108 appears although no ngrok runs on this machine | The limit counts agents across the whole account. Check the Agents page of the ngrok dashboard for sessions on other machines, CI runners or containers. Without an account, qURL’s limit is per device, so apps published from other machines do not use up this one’s slots. |
| My coding agent keeps starting new ngrok sessions | Each agent run that calls ngrok http starts another session. With the qURL skill, the agent publishes the app once; publishing the same address again returns the same CRID instead of a new 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
How many ngrok agents can I run on the free plan?
ngrok’s free plan limits list 3 concurrent agents and up to 3 online endpoints. The ERR_NGROK_108 message points to the dashboard’s Agents page to see current sessions, and to a paid plan to remove the limit.
How many apps can I share with qURL?
Without an account, the CLI keeps up to 3 active resources, with links that last up to 24 hours. A free account raises that to 10 active protected resources with unlimited links per resource, and Pro to 50 resources.
How do I stop sharing?
Run qurl stop <CRID>. To resume, run qurl start <CRID>.
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.