✅ Frontend unable to connect to webapi when starting server manually (dotnet run)
When I run my C# Webapi project through Visual Studio Code debugger (or VS) then my reactapp can make a GET request to the webapi, however if I start up the webapi via cmd
This is the output from VS Code when I start the webapi through the debugger.
This is the output from cmd when I start the webapi through the cmd.
dotnet run and make a GET request I get net::ERR_CONNECTION_REFUSEDThis is the output from VS Code when I start the webapi through the debugger.
This is the output from cmd when I start the webapi through the cmd.