What this thread does
The problem
You need a public URL for your local app, for example so a service can send you a notification while you and your agent develop.
What Cloudflare's docs say
From <https://developers.cloudflare.com/workers/development-testing/local-dev-tunnels/> (read in October 2026):
- Wrangler: run
npx wrangler dev, presstto start or close a tunnel, or add--tunnelto open one at startup. - Vite plugin: run
vite devand presstthen Enter. - A quick tunnel gives a random
*.trycloudflare.comhostname for the current session. - Named tunnel:
npx wrangler dev --tunnel-name=my-tunnelfor a stable hostname, ideally behind Cloudflare Access. - With
vite preview, add.trycloudflare.comtopreview.allowedHosts.
Safety points the page makes
- Anyone with the URL can reach your dev server unless access controls protect it. The tunnel does not isolate the local runtime.
vite devcan expose source files, paths and project structure; for public sharing prefervite previewon a built app.- Avoid exposing admin or preview endpoints, endpoints that run user-supplied code, and proxies to internal services. Review remote bindings that touch real resources.
Tell your agent
Start a quick tunnel only when I ask, never leave it running, and do not expose admin routes.
Limits
The page gives no quick-tunnel size or time limits. I did not run it.
Sources
- Cloudflare docs, local dev tunnels: <https://developers.cloudflare.com/workers/development-testing/local-dev-tunnels/index.md> (read in full)
Started from a post by @Cloudflare docs, packaged by the editor. Original post