ngrok exposes local servers behind NATs and firewalls to the public internet over secure tunnels.
You download and run a program on your machine and provide it the port of a network service, usually a web server.
It connects to the ngrok cloud service which accepts traffic on a public address and relays that traffic through to the ngrok process running on your machine and then on to the local address you specified.
Instantly create a public HTTPS URL for a web site running locally on your development machine.
ngrok http 80
ngrok tunnels run using an optimized version of the technology that powers HTTP/2 so that your tunneled services load fast.
Set http auth credentials to protect access to your tunnel and those you share it with.
ngrok http -auth "user:password" 80
Share your real-time web apps! ngrok tunnels websocket connections over HTTP tunnels without any changes.
ngrok http 8000
Easily develop webhook integrations by simply 'replaying' webhook requests to your dev server.
Dynamically start, stop and query tunnel status all with a simple RESTful API.
Use ngrok's web inspection interface to understand the HTTP request and response traffic over your tunnel.
Don't configure port forwarding on your router or waste time setting up dynamic DNS solutions. ngrok works everywhere with no changes, even when a device changes networks.
Expose any networked service to the internet, even ones that don't use HTTP like SSH.
ngrok tcp 22
Run multiple tunnels simultaneously with a single ngrok client.
ngrok start demo-site ssh admin-ui
Host header of tunneled requests to target a specific site in your WAMP/MAMP/Pow development environment.
ngrok http -host-header=mysite.dev 80
Accounts can share access to reserved domains and addresses allowing multiple developers to collaborate on a project while still having their own credentials.
Some features of the ngrok service are only available to customers using one of the ngrok.com paid plans. Features only available on paid plans are enumerated below.
Your app will appear on
https://myapp.ngrok.io instead of on a randomly chosen subdomain.
ngrok http -subdomain myapp 80
Run tunnels over your own domain names! This requires a simple change to your DNS.
ngrok http -hostname tun.yourdomain.com 80
Reserve a unchanging IP and port exclusive for your use. Perfect for personal cloud services or anything you expose via ngrok TCP tunnels.
ngrok tcp --remote-addr 1.tcp.ngrok.io:21011 22
Tunnel HTTP requests for all of your subdomains to a local service with just a single command.
ngrok http -hostname *.yourname.com 8080
Reserve your ngrok.io subdomains so that they are never provisioned to another user and are always available for your use.
Tunnel HTTPS (or other TLS) traffic to your local services end-to-end encrypted with your own SSL certificate and private key. You can even run them over your own domains!
ngrok tls -hostname yourdomain.com 443
Use ngrok's TLS tunnels with end-to-end encryption even if your local service doesn't support TLS termination by offloading it to the ngrok client!
ngrok tls -crt tls.crt -key tls.key 443
Whitelist access to your tunnel endpoints by IP address or IP range for additional security of your tunneled services.
Yes. ngrok link is a set of custom plans and additional features that allow you to use ngrok to manage connectivity to hundreds or thousands of devices or for targeted access into customer networks as a lightweight alternative to VPN. Contact email@example.com for more details.
Yes, kind of. You may license a dedicated installation of the ngrok server cluster for commercial use. You provide us with keys to an AWS account and we will install the server cluster software into that account. We then provide on-going maintenance, operations, updates, monitoring and support for your dedicated cluster. Please contact sales for further details.
It is not currently possible to license an on-prem version of the ngrok software to operate yourself, although feel free to get in touch if you're interested in that.