Cloudflare Quick Tunnels: Turn localhost into a public HTTPS URL with One Command
Cloudflare's Quick Tunnels (trycloudflare.com) has been gaining traction in the developer community: with no account, domain, DNS configuration, or open inbound ports on your router required, you simply install cloudflared locally and run cloudflared tunnel --url http://localhost:8000 — a single command that turns your local service into a globally accessible, HTTPS-encrypted public URL.
Confirmed
- No account, DNS configuration, or open ports needed — one command generates an encrypted public URL for a local service (relayed by @xiaohu, @Arindam1729, and @deepakns).
- Under the hood it's the cloudflared daemon using an outbound-only reverse tunnel architecture: after running the command, cloudflared initiates an outbound connection to the nearest Cloudflare edge node, and traffic flows back through that tunnel to the local service (@xiaohu explained the mechanics in a detailed post).
- A new JSON structured output has been added for AI coding agent scenarios, making it easy for coding agents to parse the generated public URL (@deepakns).
Why it matters
- For quick demos, Webhook debugging, and similar use cases, developers can skip deployment and NAT traversal setup, dramatically lowering the barrier to putting local services on the public internet.
- The reverse tunnel is outbound-only and doesn't expose internal network ports, making it more secure than traditional port forwarding; however, @sull cautions users about security pitfalls — exposing local services publicly still warrants careful evaluation.
- The addition of JSON output shows Cloudflare actively adapting to AI coding agent workflows, letting agents programmatically obtain and use temporary public addresses.
2026-09-20 ~ 2026-09-21 · 5 related posts
Primary sources
- [source] Cloudflare Quick Tunnels Adds JSON Output Built for Coding Agents — deepakns · 2026-09-20
- Cloudflare Quick Tunnels exposes localhost via one command, no account needed — Arindam_1729 · 2026-09-21
- [source] Cloudflare Quick Tunnels turns localhost into a public HTTPS URL with one command, no account needed — xiaohu · 2026-09-21
- [source] How Cloudflare Quick Tunnels works: outbound-only reverse tunneling with zero inbound ports — xiaohu · 2026-09-21
- Cloudflare Quick Tunnels: One Command to Expose localhost, With Security Caveats — sull · 2026-09-21