DevTools

Cloudflare Quick Tunnels: Share Localhost Instantly — Free & Secure

Your app is running on localhost… but how do you show it to the world?

By YureiBlog • November, 2025 • 4 min read

You’re building a Django chat app or a React webtools tracker on your laptop — and you want to test it on your phone, show a friend, or get feedback.

What Are Cloudflare Quick Tunnels?

A **Quick Tunnel** creates a secure, public HTTPS link to your local server (`localhost`) using just one command. It runs a lightweight tool (`cloudflared`) that connects *outbound* to Cloudflare’s network — no open ports, no router changes. You get a random `.trycloudflare.com` URL that anyone can visit to see your app live.

  • Free Forever: No limits, no signup needed.
  • Secure: Full HTTPS encryption end-to-end.
  • Works Anywhere: Home, school, office, mobile hotspot.
Key Point: No port forwarding. No paid tools. Just one command → public URL.
1

Download & Install cloudflared (30 Seconds)

  1. Go to: github.com/cloudflare/cloudflared/releases
  2. Download for your OS:
    • Windows: cloudflared-windows-amd64.exe
    • Mac: cloudflared-darwin-amd64.tgz
    • Linux: cloudflared-linux-amd64
  3. Move the file to a folder (e.g., Downloads or Desktop).
2

Run Your Local Server First

  1. Open terminal in your project folder.
  2. Start your app:
    • Django: python manage.py runserver 8000
    • React: npm start (port 3000)
    • Any: your-command
  3. Confirm it works at http://localhost:PORT in browser.
3

Launch the Tunnel (One Command)

  1. Open a new terminal window (keep server running).
  2. Navigate to where you saved cloudflared:
    cd Downloads
  3. Run this (replace 8000 with your port):
    cloudflared-windows-amd64.exe tunnel --url http://localhost:8000

    ./cloudflared tunnel --url http://localhost:8000
  4. Wait 5 seconds → you’ll see:
    Your tunnel is live at:
    https://random-name.trycloudflare.com
  5. Copy the URL → open in any browser or phone → your app appears!
Done! Your local app is now live on the internet. Close terminal to stop.

Cloudflare Quick Tunnels are the ultimate **ngrok alternative** — but free, faster, and more reliable. Whether you’re debugging a Django form, demoing a React webtools dashboard, or sharing a travel itinerary tool, you no longer need to deploy to a server just to test. The tunnel runs locally, connects outbound to Cloudflare’s global network, and gives you a secure HTTPS endpoint that works *anywhere*. No account, no config, no cost. For learners and indie devs, this removes the biggest friction in development: “How do I show my work?” One command, and your localhost becomes a public, encrypted, globally accessible app. In 2025, sharing your progress has never been easier — or safer.

Whenever I’m testing a new Django project or React app at home, I just run one command and boom — my localhost is live on a public HTTPS URL. No port forwarding, no router settings, works even on college or office Wi-Fi. I use it to share WIPs with friends or test on my phone. Yes, the computer has to stay on, so it’s not for production — but for experimenting, debugging, or showing off to a friend? Absolute gold. Takes 10 seconds and saves hours of frustration.

Related Reads