Question : ngrok for asp.net core
Answered by : amrit-dumre
Searching the web, this seems to be a common problem when using ngrok
with ASP.NET Core. Thankfully, among the many suggestions listed in that
StackOverflow issue, there is a correct solution.
Stop ngrok and run it again with the following parameters:
ngrok http https://localhost:5001 -host-header="localhost:5001"
Source : https://www.jerriepelser.com/blog/using-ngrok-with-aspnet-core/ | Last Update : Fri, 05 Nov 21