gpt4 book ai didi

c# - IISExpress 找不到使用 Visual Studio 2013 运行本地主机的 ssl 页面

转载 作者:IT王子 更新时间:2023-10-29 04:15:07 24 4
gpt4 key购买 nike

当我以 http://localhost:26049 访问网站时,网站运行良好。如果我尝试使用 https://localhost:44319 访问该站点, 我找不到页面。

这是我的项目属性:

project properties

这是来 self 的 IISExpress 应用程序配置:

<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>

最佳答案

拜托,为了上帝的爱,在你陷入一些不必要的疯狂之前试试这个!

(显然 IIS Express 保留了 44300 - 44399 的端口范围用于模拟 SSL)

Change to port 44300 (https://localhost:44300/)

关于c# - IISExpress 找不到使用 Visual Studio 2013 运行本地主机的 ssl 页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28869246/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com