Last post Jul 30, 2020 03:50 PM by lextm
Member
30 Points
40 Posts
Jul 30, 2020 08:40 AM|TinVin727|LINK
Hi,
I have asp.net core web api using .net core 2.2 version. The problem is when I debug it using IIS express the result is "This site can't be reach" but when i debug it using the project it self it works fine.
Contributor
4983 Points
4265 Posts
Jul 30, 2020 02:58 PM|DA924|LINK
Maybe, you should understand the debug. Also, I disable/remove SSL/HTTPS you don't need it when doing development on your development machine.
https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-enable-debugging-for-aspnet-applications?view=vs-2017
Participant
970 Points
398 Posts
Jul 30, 2020 03:50 PM|lextm|LINK
TinVin727 "This site can't be reach"
Not a big surprise as the port you use on IIS Express can go without a valid server certificate for many reasons,
https://docs.jexusmanager.com/tutorials/https-binding.html#background
That can break any HTTPS based debugging, unless you bind a valid certificate there.
Member
30 Points
40 Posts
asp.net core always "this site can't be reach" when run/debug using IIS that has enable SSL
Jul 30, 2020 08:40 AM|TinVin727|LINK
Hi,
I have asp.net core web api using .net core 2.2 version. The problem is when I debug it using IIS express the result is "This site can't be reach" but when i debug it using the project it self it works fine.
Contributor
4983 Points
4265 Posts
Re: asp.net core always "this site can't be reach" when run/debug using IIS that has enable SSL
Jul 30, 2020 02:58 PM|DA924|LINK
Maybe, you should understand the debug. Also, I disable/remove SSL/HTTPS you don't need it when doing development on your development machine.
https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-enable-debugging-for-aspnet-applications?view=vs-2017
Participant
970 Points
398 Posts
Re: asp.net core always "this site can't be reach" when run/debug using IIS that has enable SSL
Jul 30, 2020 03:50 PM|lextm|LINK
Not a big surprise as the port you use on IIS Express can go without a valid server certificate for many reasons,
https://docs.jexusmanager.com/tutorials/https-binding.html#background
That can break any HTTPS based debugging, unless you bind a valid certificate there.
https://lextudio.com
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.