# Cloudflare Quick Tunnels (trycloudflare.com): how they work, their limits, and when to use something else

November 26, 2026, The Expose team

A Cloudflare Quick Tunnel gives a service on your machine a temporary public HTTPS URL on `trycloudflare.com`. Install `cloudflared`, run `cloudflared tunnel --url http://localhost:8000`, and it prints a random address such as `https://quiet-marble-otter.trycloudflare.com`. You don't need a Cloudflare account or a domain, and your visitors don't need anything either.

The catches are in Cloudflare's own docs. Each Quick Tunnel takes up to 200 in-flight requests and answers the rest with `429`. Server-Sent Events don't work. There is no uptime guarantee, and the hostname changes every time you start a tunnel. Cloudflare says Quick Tunnels "are for testing and development" and points you to a named Cloudflare Tunnel for anything else.

## Quick Tunnels at a glance

| Question | Cloudflare Quick Tunnel |
|---|---|
| Command | `cloudflared tunnel --url http://localhost:8000` |
| URL | A random name on `trycloudflare.com`, new on every run |
| Account | None, for you or for your visitors |
| Price | Free |
| Who can open it | Anyone with the URL, unless you add `--allowed-mail` |
| Concurrent requests | Up to 200 in flight, then `429` |
| Server-Sent Events | Not supported |
| Uptime | No guarantee |
| Request inspector | None in cloudflared |
| Meant for | "testing and development" |

## How to start a Quick Tunnel

### 1. Install cloudflared

`cloudflared` is Cloudflare's open-source tunnel client. Cloudflare's [downloads page](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/) lists these ways to install it:

- **macOS.** Run `brew install cloudflared`, or download the Darwin binary.
- **Windows.** Download `cloudflared-windows-amd64.exe` or the `.msi` installer from the [GitHub releases](https://github.com/cloudflare/cloudflared/releases). Cloudflare notes that cloudflared does not update itself on Windows.
- **Linux.** Install it from Cloudflare's package repository at pkg.cloudflare.com, or download the `.deb`, `.rpm` or plain binary from the GitHub releases.
- **Docker.** Use the `cloudflare/cloudflared` image.

### 2. Start your app and open the tunnel

Start your local server first, then point cloudflared at its port:

```bash
npm run dev                                      # or whatever starts your app
cloudflared tunnel --url http://localhost:8000
```

Among its log lines, cloudflared prints the public address:

```text
Your quick Tunnel has been created! Visit it at (it may take some time to be reachable):
https://quiet-marble-otter.trycloudflare.com
```

The name is random. `quiet-marble-otter` is the example on [try.cloudflare.com](https://try.cloudflare.com/), and yours will be different. As the message says, the URL can take a moment to start answering, so retry after a few seconds if the first request fails.

cloudflared also prints a disclaimer when the tunnel starts: "Thank you for trying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out." It goes on to say that tunnels without an account "have no uptime guarantee".

The tunnel lives as long as the process. Press Ctrl+C and, in the words of Cloudflare's docs, "The URL stops working when you stop the `cloudflared` process."

### For scripts and coding agents: --output json

try.cloudflare.com recommends `--output json` "when a script or coding agent needs to read the result":

```bash
cloudflared tunnel --url http://localhost:8000 --output json
```

The tunnel behaves the same. Your script reads the hostname from structured output instead of searching log lines for it.

## Do you need a Cloudflare account?

No. Cloudflare's [Quick Tunnels docs](https://developers.cloudflare.com/tunnel/get-started/quick-tunnels/) say: "You do not need a Cloudflare account or domain." Nothing is needed on the visitor's side either.

The other half of that is in the same docs: "Anyone with the URL can access your local service." The random name is the only thing that keeps strangers out, unless you turn on email protection.

## Protected Quick Tunnels: limit access by email

Since cloudflared 2026.9.3, the `--allowed-mail` flag puts an email check in front of a Quick Tunnel. Cloudflare announced the feature on October 2, 2026, as [Protected Quick Tunnels](https://blog.cloudflare.com/protected-quick-tunnels/), and it is free like the tunnels themselves.

```bash
# One address
cloudflared tunnel --url http://localhost:8000 --allowed-mail alice@example.com

# Several addresses
cloudflared tunnel --url http://localhost:8000 --allowed-mail 'alice@example.com,bob@example.com'

# Everyone at one domain. Quote the wildcard so your shell doesn't expand it
cloudflared tunnel --url http://localhost:8000 --allowed-mail '*@example.com'
```

You can also repeat the flag once per address. If you use Wrangler, Cloudflare's post shows the same option there: `npx wrangler tunnel quick-start http://localhost:8080 --allowed-mail alice@example.com`.

A visitor opens the URL, enters their email address, and then enters the one-time PIN Cloudflare sends to it. Nobody needs a Cloudflare account. cloudflared checks the address against your list on your own machine, and a session lasts up to four hours, according to Cloudflare's post.

Three things to know before you rely on it:

- **It only works in a browser.** The docs say: "Email authentication requires an interactive browser session. It does not support non-interactive clients." Webhook senders, `curl`, API clients and your mobile app's HTTP calls can't get through, so don't put `--allowed-mail` on a webhook endpoint.
- **Changing the list means a new tunnel.** You stop cloudflared and start again, and access ends for everyone when the process exits. The new tunnel also gets a new hostname.
- **It's for Quick Tunnels only.** On a named tunnel, cloudflared rejects the flag with "--allowed-mail is only supported for Quick Tunnels". Named tunnels use Cloudflare Access instead.

## Quick Tunnel limits

Cloudflare lists these limits in the [Quick Tunnels docs](https://developers.cloudflare.com/tunnel/get-started/quick-tunnels/), last updated September 30, 2026. We read them on November 26, 2026.

### Up to 200 in-flight requests, then 429

"Each Quick Tunnel supports up to 200 in-flight requests. Additional requests return a `429` response."

A request is in flight from the moment it reaches the tunnel until its response is done. So the limit is about concurrency, not a count per minute or per day. A client demo, a phone test or a webhook endpoint stays far below 200. A load test with more than 200 concurrent virtual users goes over it, and so does an app that holds hundreds of long-poll requests open. When you see a burst of `429` responses that your app never logged, this limit is the first thing to check.

### No Server-Sent Events

"Quick Tunnels do not support Server-Sent Events (SSE)."

Server-Sent Events are a response with `Content-Type: text/event-stream` that stays open while the server sends events down it. You meet them in more places than the name suggests:

- A chat interface that streams a model's answer token by token through `EventSource`.
- A live dashboard or notification feed built on `EventSource`.
- A local MCP server on the Streamable HTTP transport. The [MCP specification](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports) (version 2025-06-18) says a server "MUST either return `Content-Type: text/event-stream`, to initiate an SSE stream, or `Content-Type: application/json`". A server that picks the stream runs into this limit when ChatGPT or Claude connects through a Quick Tunnel.

Cloudflare's Quick Tunnels page doesn't mention WebSockets either way. If your app's hot reload or realtime features use them, test before you send the link to anyone. Expose flushes streamed responses as they arrive, so Server-Sent Events and Streamable HTTP MCP servers work through an Expose tunnel.

### No uptime guarantee

"Quick Tunnels have no uptime guarantee." The cloudflared source code is direct about why. In [quick_tunnel.go](https://github.com/cloudflare/cloudflared/blob/master/cmd/cloudflared/tunnel/quick_tunnel.go), cloudflared sets the number of connections to Cloudflare to one, with the comment "Quick tunnels shouldn't be used for production usage, so, use a single connection instead."

### A new hostname every run

"The hostname changes each time you create a Quick Tunnel." There is no flag to keep or choose the name. Every restart of cloudflared, whether you pressed Ctrl+C or changed the `--allowed-mail` list, gives you a new URL, and every place you pasted the old one needs updating.

### Testing and development only

Cloudflare's docs: "Quick Tunnels are for testing and development. For production, create a Cloudflare Tunnel." cloudflared says the same when you run `cloudflared tunnel` without arguments: "Quick Tunnels are meant to be ephemeral and should only be used for testing purposes."

### No request inspector

cloudflared forwards requests to your app, but it has no request inspector. To see what a webhook sent, you log it in your app or open the sender's dashboard. To see it again, you trigger the event again.

## Why webhooks are awkward on a Quick Tunnel

Webhook providers store your URL. Stripe keeps it on the webhook endpoint, GitHub in the payload URL, Shopify in the webhook subscription and Paddle in the notification destination. With a Quick Tunnel, each restart of cloudflared means:

1. Copy the new hostname from the cloudflared output.
2. Paste it into every provider you are testing with.
3. Accept that anything the provider sent to the old hostname in between didn't reach you.
4. To see a payload again, create another test order or push another commit, because nothing replays it.

Email protection doesn't help here, because webhook senders aren't browsers.

This is the part a tunnel for development fixes. With [Expose Pro](https://expose.dev/#pricing), you reserve a subdomain once and share with it every time:

```bash
expose share http://localhost:8000 --subdomain=my-shop
```

The URL, for example `https://my-shop.eu-1.sharedwithexpose.com`, stays the same on every run, so you register it at Stripe or GitHub once. [Reserved subdomains](https://expose.dev/docs/expose-network/reserved-subdomains) belong to your account, so nobody else can take the name and receive your payment webhooks. The [Expose dashboard](https://expose.dev/docs/client/dashboard) at `http://127.0.0.1:4040` lists every request with its headers and body. It replays a webhook without firing it again, or replays it with a changed method, path, headers or body. [Webhook testing on localhost](https://expose.dev/webhook-testing) walks through the whole loop, and there are guides for [Stripe](https://expose.dev/docs/guides/stripe-webhooks), [GitHub](https://expose.dev/docs/guides/github-webhooks), [Shopify](https://expose.dev/docs/guides/shopify-webhooks) and [Paddle](https://expose.dev/docs/guides/paddle-webhooks).

## Moving on, option 1: a named Cloudflare Tunnel

A named tunnel is what Cloudflare recommends "for stable hostnames and production traffic". You get a hostname that stays the same, on your own domain. In return, it needs more setup:

- A Cloudflare account.
- A domain added to Cloudflare, with its nameservers changed to Cloudflare. Those are the two prerequisites in Cloudflare's [guide to a locally managed tunnel](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/do-more-with-tunnels/local-management/create-local-tunnel/).
- A machine that can reach Cloudflare on outbound port `7844`, which Cloudflare asks you to check first.

From the command line, the steps are:

```bash
cloudflared tunnel login                          # opens the browser, writes cert.pem
cloudflared tunnel create dev                     # creates the tunnel and a credentials file
cloudflared tunnel route dns dev dev.example.com  # CNAME to <UUID>.cfargotunnel.com
cloudflared tunnel run dev
```

Before `run`, write a `config.yml` in the `.cloudflared` directory that points the tunnel at your app. Cloudflare's example:

```yaml
url: http://localhost:8000
tunnel: <Tunnel-UUID>
credentials-file: /root/.cloudflared/<Tunnel-UUID>.json
```

You can also do it in the Cloudflare dashboard. Go to Networking, then Tunnels, then Create a tunnel, run the install command it shows, and add a published application route with your hostname and a service URL such as `http://localhost:8000`. The [dashboard guide](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/get-started/create-remote-tunnel/) ends with "Anyone on the Internet can now access the application." To limit who gets in, you add a Cloudflare Access application.

A named tunnel is the right move when your domain is already on Cloudflare, the service runs for weeks or months, or the traffic is real production traffic. It's more than most people want for a webhook they test this afternoon. [Expose vs Cloudflare Tunnel](https://expose.dev/cloudflare-tunnel-alternative) compares the two in detail, and [ngrok vs Cloudflare Tunnel](https://expose.dev/blog/ngrok-vs-cloudflare-tunnel) compares Cloudflare Tunnel with ngrok.

## Moving on, option 2: a tunnel built for development

Expose is a localhost tunnel built for daily development work: webhooks, OAuth callbacks, client demos, phones and coding agents. Install it with `curl -fsSL https://expose.dev/install.sh | sh` on macOS or Linux, `brew install --cask expose`, or `irm https://expose.dev/install.ps1 | iex` on Windows, then share the same port:

```bash
expose share http://localhost:8000
```

There is one step more than with a Quick Tunnel. The first `expose share` opens your browser to sign in or create a free account. After that, this is what you get:

- **The URL can stay the same.** On Pro, `--subdomain=my-app` gives you a reserved subdomain, and `--domain=share.example.com` uses your own domain. A custom domain needs one CNAME record at whatever DNS host you use, so the domain doesn't have to move to anyone's nameservers.
- **You see every request.** The dashboard on `http://127.0.0.1:4040` shows requests live, keeps each site's requests for up to 72 hours, and replays them, with or without changes. Built-in plugins highlight GitHub, Stripe and Paddle Billing webhooks.
- **No warning page.** Visitors land on your site on every plan, including the free one.
- **Access control works outside the browser too.** `--basicAuth="client:secret"` asks for a username and password, which `curl` and scripts can send. `--magic-auth` asks browser visitors for an email address.
- **Your coding agent can read the traffic.** The [Expose MCP server](https://expose.dev/mcp) at `https://expose.dev/mcp` works with Claude Code, Codex, VS Code with GitHub Copilot, Amp, Claude and ChatGPT. The agent can list your tunnels and read the last 50 requests of an open tunnel in full for 30 minutes, with secrets removed. It can't open or replay tunnels. You start those with `expose share`.

What Expose doesn't do: the free Hobby plan has a random URL on every connection, a time limit per connection and one server in Frankfurt, Germany. Expose shares HTTP and HTTPS sites, and TCP ports on Pro, with no UDP. Pro is $79 per user per year and Team is $229 per year for up to 10 users, with no billing for requests or data transfer.

## The commands side by side

| Task | Quick Tunnel | Named Cloudflare Tunnel | Expose |
|---|---|---|---|
| Share port 8000 | `cloudflared tunnel --url http://localhost:8000` | `config.yml`, then `cloudflared tunnel run dev` | `expose share http://localhost:8000` |
| Account | None | Cloudflare account | Free Expose account |
| Keep the same URL | Not possible | `cloudflared tunnel route dns` on a domain on Cloudflare | `--subdomain=my-app` on Pro |
| Use your own domain | Not possible | The domain's nameservers move to Cloudflare | `--domain=share.example.com` and one CNAME on Pro |
| Limit access | `--allowed-mail`, browsers only | A Cloudflare Access application | `--basicAuth` or `--magic-auth` |
| See and replay requests | Not in cloudflared | Not in cloudflared | Dashboard on `127.0.0.1:4040` |

## Which one should you use?

- **A URL for the next ten minutes, with no sign-up:** a Quick Tunnel. Showing a colleague a page, opening your site on a phone or pasting a URL into one webhook test works fine.
- **The same, but only for a few people in a browser:** a Quick Tunnel with `--allowed-mail`.
- **A long-running service on a domain you already have on Cloudflare:** a named Cloudflare Tunnel.
- **Webhooks, OAuth redirect URIs or a local MCP server you test every day:** a tunnel with a stable URL and a request inspector, such as [Expose](https://expose.dev/webhook-testing).

If a throwaway URL is all you need, a Quick Tunnel is fine. It costs nothing, needs no account, and one command gets you a URL. Switch when you notice you're pasting a new hostname into Stripe for the third time this week.

For the free plans of other tunnels in one table, see [Hosting from localhost](https://expose.dev/blog/hosting-localhost) and [ngrok alternatives compared](https://expose.dev/alternatives).

## Questions

### Is trycloudflare.com free?

Yes. Quick Tunnels need no account and cost nothing, and Cloudflare says the email protection added in October 2026 is "free, like Quick Tunnels themselves."

### How long does a Quick Tunnel last?

A Quick Tunnel lasts until you stop the `cloudflared` process. Cloudflare doesn't document a maximum duration, and it gives no uptime guarantee.

### Can I keep the same trycloudflare.com URL?

No. Cloudflare's docs say the hostname changes each time you create a Quick Tunnel. A fixed hostname needs a named Cloudflare Tunnel on your own domain, or a reserved subdomain in a tool such as Expose Pro.

### Why does my Quick Tunnel return 429 Too Many Requests?

More than 200 requests were in flight at once. Each Quick Tunnel takes up to 200 in-flight requests and returns `429` for the rest.

### Can I use a Quick Tunnel in production?

Cloudflare says not to. Quick Tunnels are "for testing and development", and the cloudflared source uses a single connection for them because they "shouldn't be used for production usage".

### Is a Quick Tunnel private?

No. Anyone with the URL can reach your local service. Add `--allowed-mail` to require an emailed one-time PIN, which only works for visitors in a browser.

---

Cloudflare's behaviour is described as documented on November 26, 2026: the [Quick Tunnels docs](https://developers.cloudflare.com/tunnel/get-started/quick-tunnels/), [try.cloudflare.com](https://try.cloudflare.com/), the [Protected Quick Tunnels announcement](https://blog.cloudflare.com/protected-quick-tunnels/), the guides to a [locally managed tunnel](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/do-more-with-tunnels/local-management/create-local-tunnel/) and a [dashboard tunnel](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/get-started/create-remote-tunnel/), the [downloads page](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/) and the [cloudflared source on GitHub](https://github.com/cloudflare/cloudflared).
