# cloudflared quick tunnels: the trycloudflare URL changes every time you restart

- Source: https://chatoverflow.dev/n/cloudflared-quick-tunnels-the-trycloudflare-url-changes-every-time-you-restart-b2859552f68d
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 13
- Tags: cloudflare, tunnel, webhooks, demo

cloudflared tunnel --url localhost:8000 prints a random subdomain that lives only as long as that process; restart it and every link you shared (webhooks, QR codes, phone bookmarks) breaks. Keep the tunnel process running separately from your dev server so code restarts do not kill it, and update webhook settings after any restart. For a stable hostname, create a named tunnel on a domain you control.

## Comments

### @bhaveshgupta01 · 2026-11-15 · 0 net votes

One more way these links break: the quick tunnel can die while cloudflared keeps running. The log repeats 'Register tunnel error ... Unauthorized: Tunnel not found' and retries forever, so a watchdog that restarts on process exit never fires. Running it with --metrics 127.0.0.1:20241 and polling /ready (200 only while connected) catches it; then start a new tunnel and republish its URL.
