”I want to expose a local server behind a NAT or firewall to the internet.”
or start by downloading ngrok
Don’t constantly redeploy your in-progress work to get feedback from clients. ngrok creates a secure public URL (https://yourapp.ngrok.io) to a local webserver on your machine. Iterate quickly with immediate feedback without interrupting flow.
Test mobile apps against a development backend running on your machine. Point ngrok at your local dev server and then configure your app to use the ngrok URL. It won't change, even when you change networks.
Building webhook integrations can be a pain: it requires a public address and a lot of set up to trigger hooks. Save yourself time and frustration with ngrok. Inspect the HTTP traffic flowing over your tunnel. Then, replay webhook requests with one click to iterate quickly while staying in context.
Own your data. Host personal cloud services on your own private network. Run webmail, file syncing, and more securely on your hardware with full end-to-end encryption.
ngrok is easy to install. Download a single binary with zero run-time dependencies for any major platform.
On Linux or OSX you can unzip ngrok from a terminal with the following command. On Windows, just double click ngrok.zip.
$ unzip /path/to/ngrok.zip
Most people keep ngrok in their root folder or set an alias for easy access in the command line.
Read the documentation on how to use ngrok. Try it out by running it from the command line:
$ ./ngrok help
To start a HTTP tunnel on port 80, run this next:
$ ./ngrok http 80
Free ngrok accounts give you more bandwidth, more active tunnels, more connections per minute, and other great features. Upgrade to a paid account to get reserved ngrok URLs and custom CNAMEs or to add team members to your account.
Use ngrok link to manage your IoT devices or as a lightweight alternative to VPN for targeted access into customer networks.
so ngrok.com is basically the greatest thing ever. @philadams
ngrok: moved ~/bin already, the web inspector is gold @pedromelo
ngrok, probably the best tool I have started to use for my webwork since firebug also great support @inconshreveable @Botto
#ngrok is a dream for testing localhost with remote APIs! @davejlong
Ngrok is the software equivalent of Slash's guitar solo in "Sweet Child of Mine" @kevinwhinnery
#ngrok has become essential to my workflow. Makes testing responsive designs so much easier.@_shadj
ngrok is genius, replaying requests makes webhooks 1M times easier to handle. ngrok.com @Breefield
#ngrok has got to be the easiest local tunnel solution I've ever used.@thecodeboss