Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access website hosted on Windows 7 from Windows Virtual PC XP mode

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?

like image 453
saarthak Avatar asked Aug 16 '11 11:08

saarthak


People also ask

How do I connect Windows XP Mode to the Internet?

Step 1 On the Windows taskbar, click the Start->Control Panel, then select and double-click Networking Connections. Step 2 Select Creat a new connection. The New Connection Wizard will appear then Next. Step 3 On the Network Connection Type page, choose Connect to the Internet then Next.

Does Windows Virtual PC require XP mode?

The core components required for Windows XP Mode are built in to the operating system, but you have to download Windows Virtual PC and Windows XP Mode separately. Even though Windows Home Premium users can not use Windows XP Mode, you can still use Windows Virtual PC to create your own virtual computer environments.

How do I use Virtual PC on Windows 7?

What to Know. Download Windows Virtual PC, open the file to begin the installation, and restart the computer when the install is complete. After installation, select Start, type virtual, go to Windows Virtual PC > Create Virtual Machine, and follow the prompts.


1 Answers

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.

like image 125
saarthak Avatar answered Nov 15 '22 21:11

saarthak