基于IISExpress的应用程序不会获取基于IP的请求

我似乎应用了网上可用的所有建议。 但没有结果。 我的环境:

  • Windows 10 Enterprise @ VM(可能是WMware)
  • VS Prof 2017 ver 15.5.2
  • .NET 4.5 Web应用程序
  • 带有ProjectURL的IISExpress http:// localhost:8080(创建虚拟目录)
  • 我遵循以下建议:

  • 以管理员身份运行:netsh http add urlacl url = http://:8080 / user = everyone
  • 在C: Users myself Documents IISExpress config applicationhost.config中添加了元素绑定协议=“http”bindingInformation =“:8080:”/
  • 在Windows防火墙中添加入站规则:%ProgramFiles% IIS Express iisexpress.exe
  • 我得到:

  • 当从Visual中调试基于IISExress的应用程序时,我通过从浏览器获取http:// localhost:8080 / myresource来获得断点,但http:// myip:8080 / myresource(来自同一台机器!!!)并没有让我断点
  • 检查C: Users 我 Documents IISExpress TraceLogFiles WebSite1显示没有跟踪到最新的请求。
  • 从Admin / Cmd的IISExpress作为“c: Program Files IIS Express iisexpress.exe”/path:"C:myapp.Web“/ port:8080 / trace:e运行也不成功。 顺便说一句,它开始于可疑的“成功注册的URL”http:// localhost:8080 /“”。 我的ip在哪里?
  • 链接地址: http://www.djcxy.com/p/68733.html

    上一篇: IISExpress based app doesn't get IP based requests

    下一篇: conflic by lock tfs, iisexpress applicationhost.config edited asp classic