Invalid Host header hostheader localhost ngrok code example
Example 1: ngrok invalid host header
npm i ngrok -g
> ngrok http port
//if error invalid host header
//try
ngrok http port -host-header="localhost:port"
Example 2: invalid host header ngrok
ngrok http 8080 -host-header="localhost:8080"
ngrok http --host-header=rewrite 8080