Access IIS 7.5 Express launched by Visual Studio 2010 from VMWare Guest

I have VS2010sp1. I developed an MVC 3 site with C #, jQuery etc. When I develop, I use IIS Express. The client now wants me to test the site from Internet Explorer 7 on a computer running Windows XP. I have an XP machine with IE7 in a virtual machine running on VMWare. The VMWare network adapter is mounted on the bridge. I am running VS2010, IIS Express, and VMWare 8 on the same computer (64-bit version of Windows 7 Ultimate). It seems I can access the host. I can ping the host name, and it responds with the correct IP address, and it is alive. How do I configure IIS Express and the virtual machine so that I can access my website from IE7 that is running on the virtual machine?

thanks

+4
source share
2 answers

I know this question is old, but for reference, if anyone wants an answer.

http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx

I think the new IIS Express 8 can be configured in a similar way.

Edit: applicationHost.config for detailed configuration steps follow URL ^

 <site name="MvcApplication18" id="39"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="c:\users\scottha\documents\visual studio 2010\Projects\MvcApplication18\MvcApplication18" /> </application> <bindings> <binding protocol="http" bindingInformation="*:15408:localhost" /> <binding protocol="https" bindingInformation="*:44302:localhost" /> <binding protocol="http" bindingInformation="*:80:hanselman-w500" /> <binding protocol="https" bindingInformation="*:443:hanselman-w500" /> </bindings> </site> 
+4
source

You tried to configure IIS to host your site with a local ip, possibly with a port number set to 80, and then just call the page in your browser on the virtual machine. If it is on port 80, I think you wonโ€™t need to add the port number when entering the address in the browser.

See here for configuring IIS express

0
source

Source: https://habr.com/ru/post/1386584/


All Articles