Ngrok

https://www.undefinednull.com/2015/03/17/remote-debugging-localhost-with-weinre/
https://blog.rodneyrehm.de/archives/38-You-may-not-need-localtunnel-or-ngrok.html

https://medium.com/tomincode/extending-gateway-timeouts-with-node-js-elastic-beanstalk-applications-5cb256f08f4b

https://ngrok.com/
https://www.sitepoint.com/accessing-localhost-from-anywhere/
https://sendgrid.com/blog/test-webhooks-ngrok/

How can we install ngrok?

  1. Go to https://ngrok.com/ and download the appropriate zip file
  2. Unzip the zip file. ngrok is just a single binary. There is no installer. Whenever we need to use ngrok, just go to the folder where we unzip the zip file and run the binary.

How can we use ngrok?

ngrok http 80

The above command create a tunnel to your localhost on port 80. It will generate an ngrok URL and forward it to your local port 80.

Benefits of using ngrok:

Demo without deploying. 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.

Simplify mobile device: 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.

Build Webhook integration with ease: 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.

Run personal cloud services from your own private network: 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.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License