Sign-up for an account

https://ngrok.com/

Pre-Requisits

Install unzip

$ sudo apt-get install unzip

Installation

$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
$ unzip ngrok-stable-linux-amd64.zip
$ sudo cp ngrok /usr/bin/.

Authorize

ngrok authtoken <TOKEN>

Use it

$ ngrok http <PORT>


ngrok by @inconshreveable
Session Status                online
Account                       John Mehan (Plan: Free)
Version                       2.3.40
Region                        United States (us)
Web Interface                 http://127.0.0.1:4040
Forwarding                    http://b06e-135-245-48-252.ngrok.io -> http://localhost:31080
Forwarding                    https://b06e-135-245-48-252.ngrok.io -> http://localhost:31080

Connections                   ttl     opn     rt1     rt5     p50     p90
                              0       3       0.00    0.00    0.00    0.00
HTTP Requests
-------------
GET  /api/v1/remediation       404 Not Found
GET  /api/v1/remediation       404 Not Found
POST /api/v1/remediation       200 OK

Using Postman, you can test it out:

  • No labels