When I access the site as http://localhost:26049, the site runs fine. If I try to access the site with https://localhost:44319, I get page not found.
This is my project properties:
This is from my IISExpress application config:
<site name="MVC Authentication" id="2"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="F:\Projects\MySite\Test" /> </application> <bindings> <binding protocol="https" bindingInformation="*:44319:localhost" /> <binding protocol="http" bindingInformation="*:26049:localhost" /> </bindings> </site>
Open Visual Studio and open the solution containing the web project you'd like to run in IIS Express with SSL. Verify that SSL Enabled is set to True . If you are working with a web project for which SSL has not yet been enabled, set SSL Enabled to True .
NET project, you have to enable SSL property using Visual Studio. Before enabling this property, make sure that your properties window is visible by navigating to View menu and selecting the option Properties Window. You can also enable this window by using the keyboard shortcut F4.
This file is located in the %userprofile%\Documents\IISExpress\config folder or %userprofile%\My Documents\IISExpress\config folder, depending on your OS. When you run a site from a configuration file, you can specify which site to run.
Please, for the love of g*d, try this, before you get mired in some unnecessary craziness!
(Apparently IIS Express has reserved port range of 44300 - 44399 for simulating SSL)
Change to port 44300 (https://localhost:44300/)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With