ngrok is a reverse proxy that establishes a secure channel between a public endpoint and a locally running web server.
1、Download ngrok
Official website: https://ngrok.com
2、Unzip to install
$ unzip /path/to/ngrok.zip
3、Connect your account
$ ./ngrok authtoken <YOUR_AUTH_TOKEN>
4、Fire it up
$ ./ngrok help
$ ./ngrok http 80
5、Open the ngrok inspector
Address: http://localhost:4040
The startup is successful, you can use the two public network urls displayed on the terminal
Session Status online
Account Tzhennan (Plan: Free)
Version 2.2.8
Region United States (us)
Web Interface http://127.0.0.1:4040
Forwarding http://66d9376e.ngrok.io -> localhost:80
Forwarding https://66d9376e.ngrok.io -> localhost:80
Connections ttl opn rt1 rt5 p50 p90
0 2 0.00 0.00 0.00 0.00
HTTP Requests
-------------