URL 中列出的 applicationhost.config 没有在 iis express 中启动
URL listed in applicationhost.config doesn't start in iis express
使用最新版本的 visual studio,当我开始调试我的应用程序时,我无法访问我在 applicationhost.config
文件中设置的所有 URL。这些大约一周前还在工作。
我的 applicationhost.config bindings
部分有这个:
<bindings>
<binding protocol="http" bindingInformation="*:51415:localhost" />
<binding protocol="http" bindingInformation="*:51415:subdomain.localhost" />
<binding protocol="http" bindingInformation="*:51415:othersubdomain.localhost" />
<binding protocol="http" bindingInformation="*:51415:thirdsubdomain.localhost" />
<binding protocol="http" bindingInformation="*:80:pro.myPC.mydomain.biz" />
<binding protocol="http" bindingInformation="*:443:pro.myPC.mydomain.biz" />
<binding protocol="https" bindingInformation="*:44303:pro.myPC.mydomain.biz" />
<binding protocol="https" bindingInformation="*:44303:localhost" />
</bindings>
我只看到 IISExpress 中列出的一些:
http://subdomain.localhost:51415/
http://thirdsubdomain.localhost:51415/
https://pro.myPC.mydomain.biz:44303/
https://localhost:44370/
更新:
我删除了子域的绑定,但 http://localhost:51415 仍然不起作用。只有 https url 保留在 IIS Express 系统托盘工具中。
出于某种原因,我需要以管理员身份启动 Visual Studio。我已将我的快捷方式设置为始终以管理员身份启动,但显然在更新后,快捷方式被重置了。
以管理员身份启动,这有效。
使用最新版本的 visual studio,当我开始调试我的应用程序时,我无法访问我在 applicationhost.config
文件中设置的所有 URL。这些大约一周前还在工作。
我的 applicationhost.config bindings
部分有这个:
<bindings>
<binding protocol="http" bindingInformation="*:51415:localhost" />
<binding protocol="http" bindingInformation="*:51415:subdomain.localhost" />
<binding protocol="http" bindingInformation="*:51415:othersubdomain.localhost" />
<binding protocol="http" bindingInformation="*:51415:thirdsubdomain.localhost" />
<binding protocol="http" bindingInformation="*:80:pro.myPC.mydomain.biz" />
<binding protocol="http" bindingInformation="*:443:pro.myPC.mydomain.biz" />
<binding protocol="https" bindingInformation="*:44303:pro.myPC.mydomain.biz" />
<binding protocol="https" bindingInformation="*:44303:localhost" />
</bindings>
我只看到 IISExpress 中列出的一些:
http://subdomain.localhost:51415/
http://thirdsubdomain.localhost:51415/
https://pro.myPC.mydomain.biz:44303/
https://localhost:44370/
更新: 我删除了子域的绑定,但 http://localhost:51415 仍然不起作用。只有 https url 保留在 IIS Express 系统托盘工具中。
出于某种原因,我需要以管理员身份启动 Visual Studio。我已将我的快捷方式设置为始终以管理员身份启动,但显然在更新后,快捷方式被重置了。
以管理员身份启动,这有效。