使用错误端口的 Visual Studio 开发服务器

编程入门 行业动态 更新时间:2024-10-27 07:18:00
本文介绍了使用错误端口的 Visual Studio 开发服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

与以前的问题 我以为已经解决了,但实际上并没有...

Related to a previous issue that I thought was resolved and actually isn't...

我认为我的 Visual Studio 2008 安装可能有点混乱.

My Visual Studio 2008 installation may be a bit messed up, I think.

  • 当我的 ASP.NET 项目设置为使用具有固定端口的 VS Dev Server 时,我收到 链接问题.
  • 当我的项目设置为使用随机(自动分配)端口号时,它可以工作,但它使用比实际开发服务器端口号少 3 的端口号启动浏览器(例如,如果端口号是 1903,浏览器启动到 localhost:1900/)
  • 如果我对项目设置进行了更改,则在我保存并重新启动 Visual Studio 之前,它们不会生效".
  • 任何想法如何追踪这个?

    Any ideas how to track this one down?

    谢谢!

    推荐答案

    我遇到了一个类似的问题,它同时影响了我的 2 台主机.在调查时,我发现它与 Eset 个人安全有关(猜测最近的更新搞砸了).为了解决这个问题,我从活动浏览器过滤中排除了 VS2008 - 这是在:设置 -> 高级防火墙设置 -> 防病毒 &反间谍软件 -> Web 访问保护 -> HTTP -> 网络浏览器

    I had a similar problem which hit my 2 main machines at the same time. On investigating I found it to be related to the Eset personal security (guessing a recent update messed something up). To solve it I excluded VS2008 from the active browser filtering - this is in: setup -> advanced firewall setup -> antivirus & anti spyware -> web access protection -> HTTP -> webbrowsers

    在此处取消选择 vsdev 解决了问题 - 有趣的是,禁用防火墙和防病毒/反间谍软件并没有解决问题,因此如果您正在运行不同的安全软件,则值得寻找类似的设置

    Deselecting vsdev in here fixed the problem - interestingly enough disabling the firewall and antivirus / antispyware did not solve the issue, so it is worth looking for a similar setting if you are running different security software

    更多推荐

    使用错误端口的 Visual Studio 开发服务器

    本文发布于:2023-08-07 10:43:21,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1318682.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:端口   错误   服务器   Visual   Studio

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!