Intro

Ngrok creates a secure tunnel that routes web traffic to your local machine, allowing a local server to be accessed from the internet without needing to deploy it publicly

img

ngrok is an all-in-one cloud networking platform that secures, transforms, and routes your traffic to services running anywhere.

Installation

ngrok version
ngrok version 3.24.0-msix
  • If ngrok is not recognized, add WindowsApps to PATH
C:\Users\<YOUR_USERNAME>\AppData\Local\Microsoft\WindowsApps
  • Add authtoken to the default ngrok.yml config file
ngrok config add-authtoken <YOUR_AUTHTOKEN>

Access Local Development Server from Another Device

  • Run local development server (ex: Quartz)
npx quartz build --serve --port 8080
  • Expose it via ngrok
ngrok http 8080