Azure-Samples/active-directory-dotnet-webapp-openidconnect

Hosting in Local IIS throws exception

Closed this issue · 2 comments

I have recreated the application and it works fine when run under IIS Express. But when it is hosted in Local IIS it throws the following exception -
image

Please help

After doing some homeworks and googling I found that the reason for the above exception is due to the following -

The web server cannot communicate with the public URL/IP address because of strong Firewall rules or the public IP and the internal IP of the web server communicate via a proxy IP

Now I am not sure how to overcome this problem .....

you probably need to add rules to your firewall to let the traffic through IIS.
Closing this issue as this is not an issue with the sample.