ngrok.io code example

Example 1: ngrok

Start tunnel with any port
./ngrok http http://localhost:9999

Example:
http://1ffcb38dcb8b.ngrok.io/paragonasia/

BAD:
http://1ffcb38dcb8b.ngrok.io/paragonasia

Start tunnel with prt 80
./ngrok http 80

Example 2: ngrok

./ngrok http 3000

Example 3: ngrok

$ ./ngrok authtoken 1dLfazAyroRPboegbwh3M7x9Hc8_7Q8wNUYKAxSt5rqXbUwKD

Example 4: ngrok

use `ngrok` to run local server on https

Example 5: ngrok

$ ./ngrok authtoken 28nqTz1TawyNDNecZyiDH_6K8EteCrR9HAoyGFgA3q4

Example 6: ngrok

ngrok.exe authtoken 1tDpfRjRDfcvw96G54ruZ7OiAxT_4eF6WjJvLwEPfLUQktHFN