✅ Connect WebApp to API ??
So i made 2 projects for my solution ASP.NET Core WebApp 6.0, and WebApi
And when i try to connect from webapp to api all i get is "SocketException: No connection could be made because the target machine actively refused it."
Im using IIS Express to run webapp
which ports should i use? now i have in Webapp program.cs
and the lanuch settings of webapi
2 Replies