远程计算机无法连接到 Visual Studio Web 服务器 [英] Remote machines cannot connect to Visual Studio web server

查看:18
本文介绍了远程计算机无法连接到 Visual Studio Web 服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得 MS 开发 Cassini 时 - 我相信他们将其纳入 VS 05/08,所以我认为这是一个 Cassini Web 服务器问题.

I remember when MS was developing Cassini - I believe they rolled it into VS 05/08, so I think this is a Cassini web server question.

我使用 Windows XP 和 Visual Studio 2008,当我想使用多个浏览器和多个操作系统测试网页/样式时,发现它非常不方便.现在我必须在我们的服务器上部署代码,如果有任何更新需要发生,这个过程就会变得非常耗时.由于我使用的是 XP/IIS 5,因此无法选择使用 IIS.在 XP 上使用 IIS 需要一个额外的项目前缀,这会破坏所有链接、css 等.这也是一个非常快速的开发项目,所以应该拉出配置的根目录之类的东西不是,我很在意板与这种类型的解决方案,但它没有在这个项目中实施.MS不允许在某处允许远程连接的简单标志似乎也很粗略 - 它非常简单(http://www.devx.com/dotnet/Article/11711) 但我不想重新编译 Cassini.

I am using Windows XP with Visual Studio 2008, and find it quite inconvenient when I want to test a web page/styling with multiple browsers and multiple OSes. Right now I have to deploy the code on our server, and if there are any updates that need to happen, the process turns into quite a time drain. Since I am using XP/IIS 5, the option of using IIS is not an option. The use of IIS on XP requires an extra prefix for a project, which breaks all links, css etc. This was also a really quick development project so things like root dir that should be pulled out to config aren't, I am quite on board with this type of solution but it wasn't implemented in this project. It also seems really sketchy that MS wouldn't allow a simple flag somewhere to allow remote connections - its quite simple (http://www.devx.com/dotnet/Article/11711) but I don't want to recompile Cassini.

有谁知道如何让Visual Studio 2008中的集成开发Web服务器被其他计算机看到?这将节省大量时间.

Does anyone know how to allow the integrated development web server in Visual Studio 2008 to be seen by other computers? This would save loads of time.

推荐答案

刚刚想出了一个很好的解决方案:1) 在开发机器上设置 fiddler2) 设置远程机器使用 fiddler 作为代理3) 浏览到 http://localhost.:[insert your dev port # here]/在远程机器上

just figured out a good solution: 1) Set up fiddler on development machine 2) Set up remote machine to use fiddler as proxy 3) browse to http://localhost.:[insert your dev port # here]/ on remote machine

这篇关于远程计算机无法连接到 Visual Studio Web 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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