IISExpress cannot find ssl page running localhost with Visual Studio 2013

前端 未结 11 746
旧巷少年郎
旧巷少年郎 2020-12-23 20:17

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 proj

11条回答
  •  时光取名叫无心
    2020-12-23 20:47

    It looks like IIS Express is not starting the project under the https URL. Try changing the default project URL to the SSL one in

    "Web Project->Properties->Web->Project URL" to the URL with https.

    enter image description here

提交回复
热议问题