October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

Expose Localhost to the Internet With One Command—No Port Forwarding

A Cloudflare Quick Tunnel can give a running local web app a temporary public URL. Here’s the command, prerequisites, limits, and troubleshooting steps.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

With your local web app running and cloudflared installed, run cloudflared tunnel --url http://localhost:8000 to create a temporary public URL for it. Replace 8000 with the port your app actually uses. Cloudflare Quick Tunnels require no Cloudflare account or DNS records, and you do not need to configure router port forwarding. The command starts the tunnel; it does not start your app or install cloudflared.

Put your local app online with a Quick Tunnel

  1. Start your web app and note its local HTTP address and port—for example, http://localhost:3000.
  2. Install cloudflared for your operating system using Cloudflare’s Tunnel setup guide.
  3. In a terminal, run the command with your app’s port. For an app on port 3000, use cloudflared tunnel --url http://localhost:3000.
  4. Wait for the terminal to display a trycloudflare.com URL, then open it to check that it reaches your app. Share that URL with the people who need to test the preview.

Cloudflare describes Quick Tunnels as temporary public URLs for local services. The local cloudflared client establishes an outbound tunnel to Cloudflare, so you do not need to open an inbound port on your router. If a restrictive firewall blocks outbound traffic, however, the tunnel may not connect; Cloudflare says to check outbound access to port 7844.

What the command does—and what it does not do

The command tells cloudflared to route public requests through a tunnel to the HTTP service at the specified local address. Your app must already be running and listening on that port. If the app uses HTTPS locally or a different hostname, use the address and scheme that match its local setup rather than copying the example unchanged.

A public URL makes the local service reachable from the internet. Treat it as an exposure, not as a private invitation: anyone who obtains the URL may be able to reach the app unless the app itself has access controls. Avoid exposing sensitive data or unauthenticated admin and development tools, and stop the tunnel when the test is finished.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
GL.iNet GL-SFT1200 Opal Travel Router, AC1200 Dual-Band Wi-Fi
  • 【AC1200 Dual-band Wireless Router】Simultaneous dual-band with wireless speed up to 300 Mbps (2.4GHz) + 867 Mbps (5GHz). 2.4GHz band can handles some simple tasks like emails or web browsing while bandwidth intensive tasks such as gaming or 4K video streaming can be handled by the 5GHz band.*Speed tests are conducted on a local network. Real-world speeds may differ depending on your network configuration.*
  • 【Easy Setup】Please refer to the User Manual and the Unboxing & Setup video guide on Amazon for detailed setup instructions and methods for connecting to the Internet.
  • 【Pocket-friendly】Lightweight design(145g) which designed for your next trip or adventure. Alongside its portable, compact design makes it easy to take with you on the go.
  • 【Full Gigabit Ports】Gigabit Wireless Internet Router with 2 Gigabit LAN ports and 1 Gigabit WAN ports, ideal for lots of internet plan and allow you to connect your wired devices directly.
  • 【Keep your Internet Safe】IPv6 supported. OpenVPN & WireGuard pre-installed, compatible with 30+ VPN service providers. Cloudflare encryption supported to protect the privacy.

Quick Tunnel limits and when to choose a different setup

Cloudflare documents Quick Tunnels as a testing option, not a production hosting setup. Its documentation lists a limit of 200 concurrent requests and says Quick Tunnels do not support Server-Sent Events (SSE). The 200-request figure is a documented product limit, not an independent performance benchmark. Cloudflare’s guidance for production use is to create a regular tunnel.

If your goal is a stable hostname rather than a temporary test link, use Cloudflare’s separate published-application workflow. Cloudflare’s getting-started guide lists a Cloudflare account and a domain on Cloudflare among the prerequisites; you configure a route from the public hostname to your local service. See Set up Cloudflare Tunnel and Cloudflare Tunnel routing. A Quick Tunnel does not reserve a hostname you choose.

Rank #2
TP-Link WiFi Travel Router (WiFi 5)
  • Travel Sized Design: Conveniently small and light to pack and take on the road, creating Wi Fi network via Ethernet
  • Dual Band AC750 Wi Fi: Strong, fast connection for HD streaming on all your devices. Performance varies by conditions, distance to devices, & obstacles such as walls.
  • One Switch for Multiple Modes: Perfect for Wi Fi at Home, your hotel room or on the road
  • Flexible Power: Micro USB port to an adapter, portable charger or laptop
  • Industry leading 2 year warranty and unlimited 24/7 technical support. Keep your WiFi performing at its best by keeping the firmware updated through the Tether App.

Cloudflare Quick Tunnel or ngrok?

Both are ways to put a tunnel client on your machine in front of a local app so it can be reached through a provider’s service. Cloudflare’s Quick Tunnel documentation establishes a temporary trycloudflare.com URL, no account or DNS setup for that quick route, and the testing limits above. Ngrok describes using a local agent to share localhost, but the cited overview does not establish a directly comparable set of current account requirements, URL duration, protocol limits, or pricing. Choose based on the setup and controls you need rather than assuming the two services have identical terms. Ngrok’s overview is at Preview, test, and share apps on localhost instantly.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the URL does not load

  • Check the local app first: open its localhost address on the same machine and verify the port in the command matches the app.
  • Check that the tunnel is still running: the terminal running cloudflared needs to remain open while the temporary link is in use.
  • Check outbound firewall rules: restrictive networks may block the tunnel’s outbound connection; Cloudflare identifies port 7844 as the port to check.
  • Check app behavior: a Quick Tunnel is not suitable for SSE, and Cloudflare documents a 200 concurrent request limit.

For another official local-development example, see Preview Local Projects with Cloudflare Tunnel. For installation and persistent-tunnel setup, consult Create a locally-managed tunnel.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 2
TP-Link WiFi Travel Router (WiFi 5)
TP-Link WiFi Travel Router (WiFi 5)
One Switch for Multiple Modes: Perfect for Wi Fi at Home, your hotel room or on the road; Flexible Power: Micro USB port to an adapter, portable charger or laptop
$39.99
Best Value
GL.iNet GL-MT3000 Beryl AX Wi-Fi 6 Travel Router, 2.5G WAN, VPN, OpenWrt
  • 【DUAL BAND AX TRAVEL ROUTER】Products with US, UK, EU Plug; Dual band network with wireless speed 574Mbps (2.4G)+2402Mbps (5G); 2.5G Multi-gigabit WAN port and a 1G gigabit LAN port; USB 3.0 port; Wi-Fi 6 offers more than double the total Wi-Fi speed with the MT3000 VPN Router.
  • 【VPN CLIENT & SERVER】OpenVPN and WireGuard are pre-installed, compatible with 30+ VPN service providers (active subscription required). Simply log in to your existing VPN account with our portable wifi device, and Beryl AX automatically encrypts all network traffic within the connected network. Max. VPN speed of 150 Mbps (OpenVPN); 300 Mbps (WireGuard). *Speed tests are conducted on a local network. Real-world speeds may differ depending on your network configuration.*
  • 【OpenWrt 21.02 FIRMWARE】The Beryl AX is a portable wifi box and mini router that runs on OpenWrt 21.02 firmware. It supports more than 5,000 ready-made plug-ins for customization. Simply browse, install, and manage packages with our no-code interface within Beryl AX's Admin Panel.
  • 【PROTECT YOUR NETWORK SECURITY】Our pocket wifi, unlike other vulnerable portable wifi hotspot for travel purposes supports WPA3 protocol–Preventive measures against password brute-force attacks; DNS over HTTPS & DNS over TLS–Protecting domain name system traffic and preventing data eavesdropping from malicious parties; IPv6–Built-in authentication for privacy protection, eliminating the need for network address translation.
  • 【VPN CASCADING AT EASE】Surpassing the mediocre performance of most VPN routers for home usage, the Beryl AX is capable of hosting a VPN server and VPN client at the same time within the same device, enabling users to remote access local network resources like Wi-Fi printers or local web servers, and accessing the public internet as a VPN client simultaneously.
Rank #4
Sale
GL.iNet GL-BE3600 Slate 7 Wi-Fi 7 Travel Router Touchscreen 2.5G
  • 【DUAL BAND WIFI 7 TRAVEL ROUTER】Products with US, UK, EU, AU Plug; Dual band network with wireless speed 688Mbps (2.4G)+2882Mbps (5G); Dual 2.5G Ethernet Ports (1x WAN and 1x LAN Port); USB 3.0 port.
  • 【NETWORK CONTROL WITH TOUCHSCREEN SIMPLICITY】Slate 7’s touchscreen interface lets you scan QR codes for quick Wi-Fi, monitor speed in real time, toggle VPN on/off, and switch providers directly on the display. Color-coded indicators provide instant network status updates for Ethernet, Tethering, Repeater, and Cellular modes, offering a seamless, user-friendly experience.
  • 【OpenWrt 23.05 FIRMWARE】The Slate 7 (GL-BE3600) is a high-performance Wi-Fi 7 travel router, built with OpenWrt 23.05 (Kernel 5.4.213) for maximum customization and advanced networking capabilities. With 512MB storage, total customization with open-source freedom and flexible installation of OpenWrt plugins.
  • 【VPN CLIENT & SERVER】OpenVPN and WireGuard are pre-installed, compatible with 30+ VPN service providers (active subscription required). Simply log in to your existing VPN account with our portable wifi device, and Slate 7 automatically encrypts all network traffic within the connected network. Max. VPN speed of 100 Mbps (OpenVPN); 540 Mbps (WireGuard). *Speed tests are conducted on a local network. Real-world speeds may differ depending on your network configuration.*
  • 【PERFECT PORTABLE WIFI ROUTER FOR TRAVEL】The Slate 7 is an ideal portable internet device perfect for international travel. With its mini size and travel-friendly features, the pocket Wi-Fi router is the perfect companion for travelers in need of a secure internet connectivity on the go in which includes hotels or cruise ships.
Rank #3
Roam 6 AX1500 Portable Wi-Fi 6 Travel Router Dual-Band USB C 3.0
  • 𝐑𝐨𝐚𝐦 𝟔 𝐀𝐗𝟏𝟓𝟎𝟎 𝐝𝐮𝐚𝐥-𝐛𝐚𝐧𝐝 𝐬𝐩𝐞𝐞𝐝𝐬 - Wi-Fi 6 Speeds up to 1,201 Mbps (5 GHz) and 300 Mbps (2.4 GHz) for up to 60 devices simultaneously. Actual Wi-Fi speeds vary based on source bandwidth, environment, distance to devices, and obstacles. ◇§
  • 𝐏𝐨𝐫𝐭𝐚𝐛𝐥𝐞 𝐚𝐧𝐝 𝐝𝐮𝐫𝐚𝐛𝐥𝐞 𝐝𝐞𝐬𝐢𝐠𝐧 - Roam 6 AX1500 is a pocket-sized travel router compactly designed for trips and adventures, featuring a 1 Gbps WAN/LAN port and a 1 Gbps LAN port for reliable wired connectivity.
  • 𝗦𝗲𝗰𝘂𝗿𝗲 𝗪𝗶-𝗙𝗶 𝗼𝗻-𝘁𝗵𝗲-𝗴𝗼 - Connects to public Wi-Fi and creates a private, secure network for all your devices. Supports multiple devices at once, ideal for hotels, Airbnbs, airports, and even home use. VPN connectivity enables secure remote work.
  • 𝐌𝐮𝐥𝐭𝐢𝐩𝐥𝐞 𝐰𝐚𝐲𝐬 𝐭𝐨 𝐜𝐨𝐧𝐧𝐞𝐜𝐭 - (1) Router Mode: Connects to public Wi-Fi, ISP, or phone (USB tethering). (2) AP/RE/Client Mode: Adds WiFi to wired setups, extends WiFi, or connects wired devices wirelessly.
  • 𝐎𝐮𝐫 𝐜𝐲𝐛𝐞𝐫𝐬𝐞𝐜𝐮𝐫𝐢𝐭𝐲 𝐜𝐨𝐦𝐦𝐢𝐭𝐦𝐞𝐧𝐭 - TP-Link is a signatory of the U.S. Cybersecurity and Infrastructure Security Agency’s (CISA) Secure-by-Design pledge. Advanced security is integrated into the device’s design, development, and ongoing maintenance.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.