I have found the solution here. I scrolled down to use the IIS Manager. Hope others find this useful
This page can't be displayed in VS page inspector
-
04-07-2023 - |
Question
I have a project which would load up fine locally until I set SSL to true. I have updated the url in the project properties however when I try to run the project or view web pages in page inspector I get the "This page can't be displayed" message.
I have uninstalled and re-installed IIS Express to see if that worked but no joy
Any tips wold be very much appreciated.
Cheers, Kevin.
Solution 2
OTHER TIPS
I had the same problem. If you view the project's properties you will see 2 URLs, an SSL URL and a plain URL. Make sure that the SSL URL is being used by default.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow