Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Cloudflare TunnelNew to Visual Studio Code? Get it now.
Cloudflare Tunnel

Cloudflare Tunnel

IvanArjona

|
13,095 installs
| (3) | Free
A VSCode extension to create a local tunnel through Cloudflare
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cloudflare Tunnel for VSCode

VSCode Marketplace badge

A Visual Studio Code extension to create a local tunnels so your local http server can be accessed remotely using Cloudflare Tunnel

VSCode Marketplace VSCode Marketplace VSCode Marketplace


Walkthrough

Features

  • Start a local Cloudflare Tunnel accesible outside your network
  • Specify your local port number
  • Use any local hostname or ip address inside your network
  • Use a custom subdomain. Login to cloudflare is required.

Commands

Commands accesible from the Command Palette (Ctrl + Shift + P).

Cloudflare Tunnel: Create Tunnel
Cloudflare Tunnel: Stop Tunnel
Cloudflare Tunnel: Open Tunnel in browser
Cloudflare Tunnel: Copy tunnel uri to clipboard
Cloudflare Tunnel: Get version
Cloudflare Tunnel: Login
Cloudflare Tunnel: Logout
Cloudflare Tunnel: Focus on Tunnels View
Cloudflare Tunnel: Open panel
Cloudflare Tunnel: Output channel

Using your custom domain

First login to you cloudflare account using running the command Cloudflare Tunnel: Login or clicking the Login button in the Cloudflare Tunnel panel.

Create a tunnel using the command Cloudflare Tunnel: Create Tunnel or clicking the Create Tunnel button in the Cloudflare Tunnel panel.

Select your local port and set as hostname a subdomain from one of your domains in cloudflare.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft