Base solution for your next web application
Open Closed

Angular Client Won't Connect to asp.net core web.host in IIS #9412


User avatar
0
wmaiuri created

Hi,

I have written a lot of code in the angular client and asp.net core server side. This all works well using IIS express for the server side on 44301 and the angular debug client on 4200.

I published my asp.net core web host to IIS and I am able to connect to it using the Swagger built in UI as shown below. This is using port 44401.

When I try to use the debug angular client the site just spins and never comes up when connecting to <span class="colour" style="color: rgb(206, 145, 120);">https://ptclouddemo.com:44401</span>.  Not sure what I am missing.


1 Answer(s)
  • User Avatar
    0
    wmaiuri created

    Issue resolved my CORS for web.host site was wrong. I am now connecting OK.