Password-Protect a Local TCP Service with Ngrok Authtunnel
Use Ngrok Authtunnel to require HTTP Basic Auth at the edge before forwarding TCP traffic to a local service, keeping unauthenticated clients off your local port.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Ngrok Authtunnel to require HTTP Basic Auth at the edge before forwarding TCP traffic to a local service, keeping unauthenticated clients off your local port.
Stop updating webhook URLs every time you restart your server. Learn how to use ngrok reserved domains and edge authentication to create a stable, secure local development environment.
Stabilize your ngrok URLs with a custom subdomain. Reserve a permanent hostname once, then run local services with a fixed public link, inspect traffic, and secure the tunnel. Step‑by‑step guide, trade‑offs, and best practices.
When your ngrok custom domain stops working, it’s often a DNS, certificate, or token issue. This guide walks through a systematic diagnostic flow—check DNS records, TLS handshake logs, auth token validity, and client version—to pinpoint and resolve the problem quickly.
Learn how to use ngrok’s Ingress feature to publish local HTTP or TCP services to the internet, see a step‑by‑step configuration, and understand the limits and common pitfalls of the free tier.
Stop updating webhook URLs every time you restart your dev server. Learn how to use ngrok reserved domains to create stable, persistent inbound endpoints for local development.
Guide to choosing ngrok HTTP vs TCP tunnels for exposing a local web service with HTTPS, basic auth, and a stable subdomain, including a ready‑to‑use config and validation steps.
Run a stable public webhook endpoint on localhost with ngrok reserved domains and IP allowlists, then verify traffic in the local request inspector.
Define multiple named HTTP tunnels in ngrok.yml with stable subdomains or custom domains, start them with one command, and verify each endpoint with curl and the local web inspector.