Questions about setting up ngrok for local set ups

Follow these steps to set up ngrok for local Jenkins X installs.

  • Download and install ngrok.

  • Log into ngrok account and get the ngrok auth token (Authenticated sessions can run for unlimited time, unauthenticated sessions expire in 1.5 hours):

  • Create a ngrok config file at ~/.config/ngrok/ngrok.yml with the following content (replace <ngrok-auth-token> with the auth token from the ngrok account):

authtoken: <ngrok-auth-token>
    proto: http
    addr: 8080
      - http
    proto: http
    addr: 9090
      - http
version: "2"
region: us
  • Verify that the config is correct using:
ngrok config check
  • Run this in a new terminal window/tab:
ngrok start --all
  • Once the command succeeds, you should see something like this:
ngrok                                                                                                                                                                                       (Ctrl+C to quit)

Hello World!

Session Status                online
Account                       user123 (Plan: Free)
Update                        update available (version 3.0.6, Ctrl-U to update)
Version                       3.0.5
Region                        United States (us)
Latency                       25ms
Web Interface       
Forwarding           -> http://localhost:8080
Forwarding           -> http://localhost:9090

Connections                   ttl     opn     rt1     rt5     p50     p90
                              0       0       0.00    0.00    0.00    0.00

Last modified November 6, 2022: fix: modify k3s docs (93a887a525)