I am creating a new ASP.NET Core with React JS using Visual Studio 2019. .net version is 5.
The project is created successfully. When I run the project (F5), it loads this url: https://localhost:44390/ but nothing works, I get this message:
This site can’t be reachedThe connection was reset.
Try:
Checking the connection Checking the proxy and the firewall
Running Windows Network Diagnostics ERR_CONNECTION_RESET
If I go to the ClientApp folder directly, and run npm start, it will load the client side app on http://localhost:3000 but the "Fetch Data" tab will not work.
Basically the web api itself isn't working. Any idea? Is it something related to it being https?
I am just using the default ReactJS template in the IDE.