Access website hosted on Windows 7 from Windows Virtual PC XP mode
Asked Answered
E

2

10

I have Windows Virtual PC installed on my Windows 7 machine. I am using it for testing my website for cross browser functionality.

In my Windows 7 I am developing the website in asp.net 4 and VS2010. In my Virtual PC XP, i want to access the website that i host on my local IIS or VS development web server. How can I communicate between Windows 7 and my Virtual PC?

Elongation answered 16/8, 2011 at 11:44 Comment(0)
E
3

Found the answer through this blog -

http://blogs.technet.com/b/windows_vpc/archive/2009/09/26/networking-and-using-windows-xp-mode.aspx

I modified the settings of the virtual PC to pick my wireless adapter. With this the virtual pc was just like any other computer on the network (formed by my wirless router) and I could access the virtual pc via its IP and could access my windows 7 host system from virtual pc via host systems's IP

Hope this helps some one.

But this had only one issue - I had to host my website on local iis, allow firewall port exception, to make it accessible to the virtual PC.

Elongation answered 20/8, 2011 at 10:3 Comment(0)
S
2

Basically, all you need is the internal IP of the host machine and the webserver port.

Yet, since you're developing with VS2010, you'll have to switch to IIS Express and use the following answer: IIS Express enable external request

Sceptre answered 16/8, 2011 at 12:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.