A Cloudflare Quick Tunnel gives a locally running web app a temporary public URL for a short test. A colleague can use the URL to view a demo from another network, and you can use it to check the app in a different browser. By default, anyone with the generated address can open the app while the tunnel runs. You can also require email authentication for browser visitors; the random URL itself does not provide that protection.

Quick Tunnels are intended for temporary development work, with no guaranteed availability. Use an app that contains no private data and stop sharing when the test ends. An email restriction limits who can enter, but it does not make an unfinished application suitable for production.

Prepare the Local App

Use a separate demo containing public material or test data you can discard. Exclude real customer data, credentials, environment files, and private uploads from the demo. Disable debug panels, admin routes, and write actions that testers should not use. If the app has authentication, test it, but do not rely on an obscure tunnel address in place of access control. Be aware that a public visitor can send requests to routes you did not intend to demonstrate, not just the home page you share.

Start the app on a known local port and confirm it loads at a localhost URL before creating the tunnel. When cloudflared runs directly on the same computer as the app, it can connect to a loopback listener. Cloudflared is the connector process that forwards tunnel requests to your local server.

For a static, non-sensitive folder, Python offers a simple example: python -m http.server 8080 --bind 127.0.0.1 --directory ./demo-public. Replace the path with a directory containing only files meant for the test. The Python server provides only basic security checks, so keep this example limited to temporary testing.

Check the application base URL, redirects, cookies, and absolute asset links. If pages redirect visitors back to localhost, remote viewers will not reach the app on your computer. Do not solve that by exposing a private administration interface. Use a small test page when the application cannot safely handle arbitrary public requests.

Start the Quick Tunnel

Install a current cloudflared package for your operating system. Windows releases include an installer and standalone executables; macOS users with Homebrew can run brew install cloudflared. On Linux, use the appropriate package from Cloudflare's package repository or a release binary matching your processor.

Run cloudflared --version to check which installed version the terminal is using. With the Python example running, start a second terminal and enter cloudflared tunnel --url http://127.0.0.1:8080. For another app, replace the address and port with the values that app uses. Using the explicit IPv4 address here matches the Python bind address and avoids a possible IPv6 localhost mismatch.

Copy the complete HTTPS address printed by cloudflared. The temporary hostname ends in trycloudflare.com and changes when you create another Quick Tunnel. Keep the connector running throughout the test.

The command above leaves the tunnel open to anyone with the URL unless the app itself requires a login. Before sharing, decide whether that access is acceptable for the demo or whether to enable the email restriction below.

A Quick Tunnel does not need a configuration file. Preserve any files used by a separate managed tunnel instead of deleting them to follow this example. If startup fails, read the terminal error and confirm that the local URL responds.

The connector establishes outbound connections to Cloudflare. Network policy must permit the tunnel transport on port 7844: UDP for QUIC or TCP for HTTP/2, along with the DNS and HTTPS access needed for setup. If an organization controls those permissions, ask its administrator to check the relevant traffic instead of opening an inbound router port.

Restrict Browser Access by Email

To require a tester to sign in, start the tunnel with cloudflared tunnel --url http://127.0.0.1:8080 --allowed-mail reviewer@example.com, replacing the example email with the tester's address. The visitor enters that address on the login page and then the one-time PIN delivered to the mailbox.

Choose the protected command before sharing a URL. If an unrestricted tunnel is already running, stop that process before starting the protected one so the earlier route is not left open. If the installed connector rejects the email option, update cloudflared; removing the option would remove the restriction.

Test the Public URL

Open the generated HTTPS address from another network, using a browser session that is not already signed in to the app. A private window can help check a fresh session, but it does not change which network the device uses. Confirm that the intended page loads, images and scripts work, and navigation stays on the public hostname. Test a known missing page and any form or route that is part of the demo. Check that private files, debug information, and administrative pages are unavailable from the public endpoint.

With email protection enabled, test signing in with an allowed address and with a different address you control that is absent from the allowlist. Only the visitor signing in with the allowed address should reach the demo. Keep the app's own login checks where needed, since tunnel admission and application permissions serve different purposes.

A successful local request only confirms the origin is running. A successful request to the public hostname from another network confirms the tunnel path for that test. Record the date, app and cloudflared versions, local port, tested public URL, test network, and observed results. Keep the test record private if it includes visitor details, credentials, or an active unrestricted URL.

If the app fails locally, fix that failure before diagnosing the public route. If local access works but the public URL fails, inspect the cloudflared error and verify that you copied the current URL. A 502 response reporting that the origin cannot be reached means the connector reached Cloudflare but could not successfully contact the local service; check its address, port, and HTTP or HTTPS setting. A page with broken assets may point to hard-coded localhost URLs or application host validation. Check the app's allowed-host settings and generated URLs before widening network access.

Account for Quick Tunnel Limits

A Quick Tunnel permits at most 200 requests in progress at once; excess requests receive HTTP 429. The count is concurrent requests, not the total requests made during a session or a count of visitors. Server-Sent Events are unsupported, so an app relying on that streaming mechanism needs a different arrangement.

Do not treat a fast one-person demonstration as a load test or an availability guarantee. If you need a controlled long-lived public service, use a deployment and access model designed for it, with explicit authentication, monitoring, and a maintained tunnel or hosting setup.

Stop the Tunnel

When the test finishes, press Ctrl+C in the terminal running cloudflared and wait for the process to exit. Then make a fresh request to the generated URL from an external network. The request should no longer reach the local app after the tunnel connection closes.

A browser may still show cached content. Use the browser's network tools to distinguish a new network response from a cached page before judging whether access has ended. Close the local demo server as well if it is no longer needed.

Remove the temporary URL from shared notes if it could be mistaken for a permanent endpoint, and review whether the demo left any public data or side effects. Stopping the tunnel does not undo changes that visitors already made in the demo or remove copies of files they downloaded.