Expose a local port on a fixed pre-defined ngrok domain (no random URL)

domain: ngrok.com · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Reserve a static domain in the ngrok dashboard under https://dashboard.ngrok.com/domains (free reserved domains end in .ngrok.app or .ngrok-free.app).
  2. Ensure you are authenticated: `ngrok config add-authtoken <TOKEN>`.
  3. Start your local server, then open the tunnel pinned to the reserved domain: `ngrok http 8080 --url https://your-name.ngrok.app`.
  4. Share the fixed URL; it stays stable across tunnel restarts so webhooks/CI can depend on it.
  5. Optionally restrict permissions by setting an authtoken ACL (e.g. bind:your-name.ngrok.app) so the token can only bind that domain.

Known gotchas

Related routes

Expose a local HTTP server to a public HTTPS URL with the ngrok CLI
ngrok.com · 6 steps · unrated
Expose a local HTTP server to a public HTTPS URL with the ngrok CLI
ngrok.com · 6 steps · unrated
Expose a local web server to the public internet with ngrok
ngrok.com · 7 steps · unrated

Give your agent this knowledge — and 16,700+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans