HeadlinesBriefing favicon HeadlinesBriefing.com

Cloudflare Quick Tunnels: Share Localhost Instantly

Hacker News •
×

Cloudflare's Quick Tunnels let developers expose local servers publicly with a single command. Running `cloudflared tunnel --url http://localhost:8000` creates an encrypted, public URL on Cloudflare's edge network without requiring an account, DNS setup, or open ports. The laptop remains private while the URL is accessible globally.

The service operates across 335+ cities worldwide, routing traffic through Cloudflare's Anycast network with automatic TLS and DDoS protection. Connections are outbound-only, meaning no inbound ports are opened on the user's machine. Setup takes about three seconds with no configuration files or sign-up required.

Designed for coding agents and development workflows, Quick Tunnels provide structured JSON output for hostnames, edge locations, and health status. This makes integration with automated tools, webhooks from services like Stripe or GitHub, and eval harnesses straightforward. Each tunnel is ephemeral, terminating automatically when the process ends, eliminating cleanup or revocation concerns.

The feature supports any web framework, port, or stack, with certificates, routing, and security handled automatically by Cloudflare's infrastructure.