Ngrok: External connectivity for your PoCs

Ngrok is an application that helps you to give a way to access your local service from the Internet.
It can be a useful tool to test your PoCs.

This app has a free tier for your projects with non-commercial use.

Installation and configuration

https://ngrok.com/docs/getting-started

Signup into Ngrok and download the app.
It is a portable app, so you just have to download the file and run it. No dependencies are required.

Now you need to configure it by adding your Authtoken.
You will find this value in your Ngrok dashboard.

$ ngrok config add-authtoken <your_authtoken>

Usage

  • Start a local web service (eg. $python3 -m http.server)
  • Start ngrok

$ ngrok http 8000

ngrok                                                                                                                                                         (Ctrl+C to quit)

Session Status                online
Account                       inconshreveable (Plan: Free)
Version                       3.0.0
Region                        United States (us)
Latency                       78.006541ms
Web Interface                 http://127.0.0.1:4040
Forwarding                    https://84c5XXXXXXXX.ngrok.io -> http://localhost:8000

Connections                   ttl     opn     rt1     rt5     p50     p90
                              0       0       0.00    0.00    0.00    0.00
  • Now your local service HTTP://localhost:800 will be also available at https://84c5XXXXXXXX.ngrok.io

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *