Soluxionz

How to Expose Your Windows Localhost on the Internet Using Cloudflare Tunnels

In this guide, I’ll show you how to expose your local host on the internet using Cloudflare Tunnels, even if you don’t have a static IP address. We’ll walk through each step, from creating tunnels using Cloudflare Zero Trust to pointing them to your machine’s localhost. Ready? Let’s dive in!

  1. Using Winget:
    You can download Cloudflared on Windows using this winget command. Run this command in command prompt.
    winget install --id Cloudflare.cloudflared

    2. Director Download:

    Alternatively, download the latest release directly:

    Type32-bit64-bit
    ExecutableDownload ↗Download ↗
    1. Set up Cloudflare Free Account:
      • If you haven’t already, set up your Cloudflare account and add your domain.
      • Go to your domain list on your Cloudflare account.
    2. DNS Tab
      • Navigate to the DNS tab and add a new record.
      • This record will work as a subdomain for your tunnel.
    1. Go to Zero Trust:
      • Go to your Cloudflare dashboard.
      • On the left pane, navigate to Zero Trust
      • Click on Networks and then Tunnels
    2. Create New Tunnel:
      • Click on Create Tunnel
      • Name your tunnel and follow the instructions to set it up.

    Additional Tips:

    These steps will guide you through exposing your local host on the internet using Cloudflare Tunnels. It’s a secure and straightforward way to make your local services accessible from anywhere. 

    Exit mobile version