I am running Visual Studio on my local Windows Server webdev machine. This launches an ASP.NET Development Server when I run my website.
I need to test this in various versions/browsers/tools and thus I’d like to access it from a VM, without having to deploy it each time I want to test something.
Therefore: is there a way to access my local ASP.NET server from my VM?
Can I use a reverse proxy or something for this? If so how? Why can I access the IIS7 welcome page but not the instance of my webserver on specific port?
Cheers
Edited to differentiate Cassini ASP.NET Dev. Server and IIS7.
I found a way to do this using Fiddler.
Basically you just create a reverse proxy on the dev. machine like so:
if (oSession.host.toLowerCase() == “192.168.0.100:8888”) oSession.host = “localhost:41111”;
Where my ASP.NET dev server (from VS2010) is running on localhost:41111 and I access it from other machines on the local network (or VMs) using 192.168.0.100:8888 (mydevhostip:8888) in a browser.