使用错误的端口的Visual Studio开发服务器 [英] Visual Studio Development Server using wrong port

查看:229
本文介绍了使用错误的端口的Visual Studio开发服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

相关的<一个href=\"http://stackoverflow.com/questions/500957/unable-to-launch-the-asp-net-development-server-because-port-1900-is-in-use\">$p$pvious我想到的是解决了,实际上问题是不是...

我的Visual Studio 2008的安装可能会有点搞砸了,我想。

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


  1. 当我的ASP.NET项目设置为使用VS开发服务器用一个固定的端口,我得到了描述<端口在使用错误href=\"http://stackoverflow.com/questions/500957/unable-to-launch-the-asp-net-development-server-because-port-1900-is-in-use\">linked问题。

  2. 当我的项目设置为使用随机(自动分配的)端口号,它的工作原理,但它使用的端口号3小于实际开发服务器端口号(启动浏览器例如,如果端口号是1903年,浏览器启动到的http://本地主机:1900 /

  3. 如果我更改项目设置,他们不会拿,直到我保存并重新启动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开发服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆