Contents
How to introspect tunnels to localhost in ngrok?
Take advantage of a powerful local inspector. ngrok provides a real-time web UI where you can introspect all HTTP traffic running over your tunnels. Replay any request against your tunnel with one click.
What kind of service can I expose with ngrok?
Not all services you wish to expose are HTTP or TLS based. ngrok TCP tunnels allow you to expose any networked service that runs over TCP. This is commonly used to expose SSH, game servers, databases and more. Starting a TCP tunnel is easy.
How does ngrok forward to a different machine?
ngrok can forward to services that aren’t running on your local machine. Instead of specifying a port number, just specify a network address and port instead. Example: Forward to a web server on a different machine ngrok http 192.168.1.1:8080
Is there a way to request that ngrok speak https?
You can specify a URL with an https:// scheme to request that ngrok speak HTTPS to your local server. As a special case, ngrok assumes that if you forward to port 443 on any host that it should send HTTPS traffic and will act as if you specified an https:// URL.
How does ngrok serve local file system directories?
ngrok can serve local file system directories by using its own built-in fileserver, no separate server needed! You can serve files using the file:// scheme when specifying the forwarding URL. All paths must be specified as absolute paths, the file:// URL scheme has no notion of relative paths. Share a folder on your computer with authentication
Do you have to use the same ngrok url every time?
If you want to use the same URL every time, you need to upgrade to a paid plan so that you can use the subdomain option for a stable URL with HTTP or TLS tunnels and the remote-addr option for a stable address with TCP tunnels. ngrok assigns random hexadecimal names to the HTTP tunnels it opens for you.
Do you need a certificate for a ngrok tunnel?
HTTPS tunnels terminate all TLS (SSL) traffic at the ngrok.com servers using ngrok.com certificates. For production-grade services, you’ll want your tunneled traffic to be encrypted with your own TLS key and certificate. ngrok makes this extraordinarily easy with TLS tunnels.