The request hostname is invalid localhost code example Example: the request hostname is invalid ngrok http 8080 -host-header="localhost:8080"