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

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

问题描述

我记得当MS正在开发卡西尼 - 我相信他们滚成VS 05/08,所以我觉得这是一个卡西尼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,并发现它非常不方便的时候我想测试一个网页/风格与多种浏览器和多个操作系统。现在我有部署code我们的服务器上,如果有需要发生的任何更新,这个过程变成一个相当的时间消耗。因为我用的是XP / IIS 5.0,使用IIS的选项不是一个选项。 IIS对XP的使用需要额外preFIX一个项目,该项目打破了所有的链接,CSS等,这也是一个非常快的发展项目,所以像根目录应拉出配置都没有,我敢在船上使用这种类型的解决方案,但它并没有在这个项目中实现的。这也似乎真的粗略的MS不会允许一个简单的标志的地方,以允许远程连接 - 它很简单(的http:// www.devx.com/dotnet/Article/11711 ),但我不想重新编译卡西尼。

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)设立提琴手开发机器上 2)建立远程机器使用小提琴手作为代理 3)浏览到的http://本地主机:[此处插入你的开发端口号] /远程计算机

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天全站免登陆