When I am using ngrok
& run url given by ngrok with following configuration:
localhost:8080/someexample
ngrok
url is : http://f07d0862.ngrok.io/
it show this error:
Bad Request - Invalid Hostname HTTP Error 400.
When testing the deployment with a single server IP, you get the error “Bad Request (Invalid Hostname)" on your browser. The issue occurs because IWSVA overwrites the Host header in the HTTP request with the IP or FQDN of the web server configured in IWSVA.
Tunnel Authtokens Once you've signed up for an ngrok account, you need to configure ngrok with the authtoken that appears on your dashboard. This will grant you access to all the features of ngrok. ngrok has a simple ngrok config add-authtoken command to make installing the authtoken simple.
Your web server is rejecting the request since it has different hostname.
Try ngrok http -host-header="localhost:8080"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With