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.

5 Comments

  • 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

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

  • 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.

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

  • 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...

Comments have been disabled for this content.