Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sign-up for an account

https://ngrok.com/

Pre-Requisits

Install unzip

Code Block
$ sudo apt-get install unzip


Installation

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


Authorize

Code Block
ngrok authtoken <TOKEN>


Use it

Code Block
$ ngrok http <PORT>


Code Block
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:

Image Added