ngrok 8100 invalid host header code example

Example 1: invalid host header ngrok

ngrok http 8080 -host-header="localhost:8080"
ngrok http --host-header=rewrite 8080

Example 2: ngrok invalid host header

ngrok http 8080 -host-header="localhost:8080"
ngrok http --host-header=rewrite 8080

Example 3: ngrok invalid host header

ngrok http --host-header=rewrite 8080

Example 4: ngrok invalid host header

npm i ngrok -g
> ngrok http port
//if error invalid host header
//try
ngrok http port -host-header="localhost:port"

Tags:

Misc Example