I started a new dotnet core with react project on my Windows 8.1 machine.
dotnet new react my-project
When I started debugging in chrome at https://localhost:5001/, I got the following error
ERR_HTTP2_INADEQUATE_TRANSPORT_SECURITY.
Where should I look into?
You can configure Kestrel server to serve Http1. Please follow the following instruction to solve the problem -
Go to your project appsettings.json file.
Add below code under "AllowedHosts": "*" line
"Kestrel": { "EndpointDefaults": { "Protocols": "Http1" } }
Your default appsettings.json file will look like this -
Hope it will solve your problem.