IISExpress cannot find ssl page running localhost with Visual Studio 2013

前端 未结 11 749
旧巷少年郎
旧巷少年郎 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:59

    Try changing bindings in IIS

    This link is what solved my 3 day long intermittent headache: https://deanhume.com/set-up-iis-7-to-run-a-secure-site-locally-https/

    Here are the specific steps that lead to my discovery of the real problem:

    Windows key > Administrative tools > Internet Information Services > Click on Default Website (or whatever your website is) > Bindings... > Blow all the duplicate bindings away for local host > Add https binding for port 80.

提交回复
热议问题