Use “ngrok” for HTTPS

--

Many users complain when they run ngrok for HTTPS URLs, it returns some errors. 503 Bad Gateway or sometimes invalid content etc.

If your application is running on https you need to use the proper command to make it work.

How to use ngrok for HTTPS endpoints

  1. Download ngrok from official website
  2. Connect your account with an Authorization token
  3. use below command

./ngrok http <APP-HTTPS-URL> -host-header=”localhost:44325"

./ngrok http https://localhost:44325 -host-header=”localhost:44325"

simply do not forget to add https before the URL

Happy tunneling….!

--

--