Jeff and .NET

The .NET musings of Jeff Putz

Sponsors

News

My Sites

Archives

Can you expose VS dev Web server to other computers?

As it says... can the VS dev Web server be seen by other computers on the network? It would make testing in Safari and other browsers a lot easier. I can't seem to get the right combination of words on Google to find an answer. So far, no joy.

Comments

ScottGu said:

The built-in VS web dev server has a block that only allows local access (for security reasons).

However you can download the source to it and remove the block from here: http://blogs.msdn.com/dmitryr/archive/2006/03/09/548131.aspx

Hope this helps,

Scott

# January 3, 2007 8:57 PM

Jeff said:

I figured that might be the case. Grrrr... do we really have to be protected from ourselves? :) I wish this was configurable.

# January 3, 2007 9:02 PM

Wilco said:

Alternatively you can give http://www.wilcob.com/Wilco/Toolbox/WebDevWebServer2.aspx a try. The GUI one should work exactly the same as what ships with VS. The difference is that it's built on top of HTTP.SYS (using HttpListener) which makes it possible to listen remotely as well as run it on ports used by other apps that also use HTTP.SYS.

# January 3, 2007 9:47 PM

Simone Busoli said:

There's UltiDev Cassini too: http://ultidev.com/products/Cassini/index.htm

# January 4, 2007 8:58 PM

Dan said:

This also makes IE6 testing difficult, even with the release of the virtual pc image. You have to publish the site to your local IIS before you can access it from IE6 running on the VM... at least as far as I can tell...

# January 22, 2007 2:52 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)