Skip to content

ngrok

Utility for creating secure tunnels: your local server on localhost gets a public HTTPS address accessible from the internet.

Why Needed

A local service (e.g., API server Cherry Studio) listens only to 127.0.0.1 and is not accessible from outside. ngrok solves this without a white IP and router configuration.

How It Works

ngrok http 23333

The command sets up a tunnel and provides an address like https://xxxx.ngrok-free.app, which points to your local port 23333.

Alternatives

  • cloudflared — Cloudflare Tunnel, address trycloudflare.com without registration;
  • cpolar — popular alternative with a free plan;
  • Tailscale — private network without a public address, safer for personal access.

Security

The tunnel opens the port to the entire internet. Use complex keys and do not leave the tunnel running unnecessarily.

See Also

← All Terms