If you try to just use ngrok like this
1 | ngrok http 1316 |
You're likely going to run into an issue when you browse to the website via the ngrok supplied URL that there are invalid host headers. This is because the local server is expecting headers for localhost
and instead it is getting them for something like https://3fe1-198-53-125-218.ngrok.io
. This can be solved by running with
1 | ngrok http 1316 -host-header="localhost:1316" |