【问题标题】:Change https back to http on Visual Studio for Mac在 Visual Studio for Mac 上将 https 改回 http
【发布时间】:2020-07-14 19:28:51
【问题描述】:

我最近不得不在 Visual Studio for Mac 中重新安装我的解决方案。当我第一次单击运行时,它要求我输入系统密码以信任 SSL 证书。我点击是。现在,该解决方案在 localhost 端口 5001 而不是 5000 上运行,并且使用 https 而不是 http。我的 HttpRequests 现在出现混合内容错误。如何将其改回 http 和端口 5000。这是 Visual Studio Mac Community 8.6.5。

【问题讨论】:

    标签: visual-studio visual-studio-mac


    【解决方案1】:

    好的,我刚刚在 Project Options 中找到的 ASP.Net Core 运行配置中删除了对 https://localhost:5001 的引用,它恢复了正常。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-09-13
      • 2022-09-30
      • 1970-01-01
      • 1970-01-01
      • 2019-11-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多