cloudflare · Cloudflare Workers Docs
Workers Share a local dev server
Expose a local development server to the public internet using Cloudflare Quick Tunnels via Wrangler or the Cloudflare Vite plugin.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Share a local dev server
Expose a local development server to the public internet using Cloudflare Quick Tunnels via Wrangler or the Cloudflare Vite plugin.
When To Use
Use when you need to share a local preview, test webhooks, or access a local development server from an external device using a temporary public URL.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-development-testing-local-dev-tunnels-share-a-server-workflow-guide.md | A guide explaining how to expose a local Cloudflare Workers development server to the internet using Cloudflare Quick Tunnels. | Questions about a guide explaining how to expose a local Cloudflare Workers development server to the internet using Cloudflare Quick... |
examples/workers-development-testing-local-dev-tunnels-share-a-server-cloudflare-.text | The command to start a local development server with a tunnel using wrangler dev. | Exact payloads, commands, or snippets shown in The command to start a local development server with a tunnel using wrangler dev. |
examples/workers-development-testing-local-dev-tunnels-share-a-server-cloudflare--2.text | A command line instruction demonstrating how to use the wrangler dev command with the tunnel flag to share a local development server. | Exact payloads, commands, or snippets shown in A command line instruction demonstrating how to use the wrangler dev command with the tunnel flag to share a local de... |
examples/workers-development-testing-local-dev-tunnels-share-a-server-cloudflare--3.text | A command line instruction demonstrating how to run the wrangler development server with the tunnel flag enabled. | Exact payloads, commands, or snippets shown in A command line instruction demonstrating how to run the wrangler development server with the tunnel flag enabled. |
examples/workers-development-testing-local-dev-tunnels-share-a-server-cloudflare--4.text | A vite configuration file demonstrating how to enable Cloudflare Dev Tunnels using the cloudflare plugin. | Exact payloads, commands, or snippets shown in A vite configuration file demonstrating how to enable Cloudflare Dev Tunnels using the cloudflare plugin. |
examples/workers-development-testing-local-dev-tunnels-share-a-server-cloudflare--5.text | A shell command demonstrating how to enable a local development tunnel using the ENABLE_DEV_TUNNEL environment variable with Vite. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to enable a local development tunnel using the ENABLEDEVTUNNEL environment variable... |
What This Skill Covers
- You can expose your local dev server over a Cloudflare Quick Tunnel when you need to share a preview, test a webhook, or access your app from another device....
- Main sections:
Start a tunnel,Security considerations,Related docs.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/development-testing/local-dev-tunnels
