ngrok

ngrok

TLDR

Expose a local HTTP service on a given port

$ ngrok http [80]
copy

Expose a local HTTP service on a specific host

$ ngrok http [foo.dev]:[80]
copy

Expose a local HTTPS server

$ ngrok http https://localhost
copy

Expose TCP traffic on a given port

$ ngrok tcp [22]
copy

Expose TLS traffic for a specific host and port

$ ngrok tls -hostname=[foo.com] [443]
copy

Copied to clipboard
sandbox