Ngrok exposes local servers behind NATs and firewalls to the public internet over secure tunnels.Sign up
Download and run a program on your machine and provide it the port of a network service, usually a web server.
Connect to the ngrok cloud service which accepts traffic on a public address.
Traffic is relayed 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 website running locally on your development machine. ngrok offloads TLS so you don't have to worry about your configuration.
Set HTTP auth credentials to protect access to your tunnel and those you share it with. ngrok also supports other authentication methods. Add OAuth to your endpoints automatically; no code required.
ngrok tunnels run using an optimized version of the technology that powers HTTP/2 so that your tunneled services load fast. ngrok runs in multiple regions and availability zones around the globe, ensuring that your tunnels are always online.
Rewrite the Host header of tunneled requests to target a specific site in your WAMP/MAMP/Pow development environment.
ngrok http -host-header=mysite.dev 80
Don't configure port forwarding on your router or waste time setting up dynamicDNS solutions. ngrok works everywhere with no changes, even when a device changes networks.
Dynamically start, stop and query tunnel status all with a simple RESTful API. Reconfigure the behavior of your tunnels on the fly.
Use ngrok's web inspection interface to understand the HTTP request and response traffic over your tunnel.
Run multiple tunnels simultaneously with a single ngrok client.
ngrok start demo-site ssh admin-ui
Use ngrok URLs to configure public webhooks to a private service. Easily develop and debug webhook integrations by simply 'replaying' webhook requests to your dev server.
Accounts can share access to reserved domains and addresses allowing multiple developers to collaborate on a project while still having their own credentials.
Expose any networked service to the internet, even ones that don't use HTTP like SSH. Use ngrok to manage access to any TCP service without having to setup complicated port forwarding rules.
ngrok tcp 22
ngrok supports both HTTP and HTTPS tunnels out of the box. Great for sharing local web servers, demoing a development website, or sharing access to internal APIs with 3rd parties.
Share your real-time web apps! ngrok tunnels websocket connections over HTTP tunnels without any changes.
Reserve your ngrok.io subdomains so that they are never provisioned to another user and are always available for your use. This allows you to stop and restart your tunnels at will and always maintain a persistent endpoint for your clients.
ngrok http -subdomain myapp 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
Your app will appear on https://myapp.ngrok.io instead of on a randomly chosen subdomain. These subdomains are reserved for your account and give you a persistent endpoint to drop into your clients.
ngrok http -subdomain myapp 80
Go one step further and run tunnels over your own domain names! CNAME your own domain to your reserved ngrok tunnel and easily put the power of ngrok behind your own brand.
ngrok http -hostname myapp.mydomain.com 8080
Tunnel HTTP requests for all of your subdomains to a local service with just a single command.
ngrok http -hostname *.yourname.com 8080
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. Prevent unauthorized clients from ever connecting to your tunnel endpoints.
Paid plans offer higher throughput and resource limits across all of ngrok's feature set. ngrok's plans are designed to scale with your needs and guarantee that as your traffic ramps, up ngrok's features scale with you.
Having a problem with ngrok? With dedicated support you get answers and help faster.
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 sales 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.