Aug 9, 2011
tom

Problem trying to access local website (settings in hosts file) on Host PC (Win XP SP3) from Guest PC (VM Win 7)

Question

Host PC :

Windows XP SP3

Guest PC :

Virtual Machine running Windows 7 SP1

Host PC IP Address :

172.16.5.55

Guest PC IP Address :

172.16.6.62

On my Guest PC I’m trying to access a website running on my Host PC. My Host PC’s hosts file has the entry of:

172.16.5.55     www.dev.com

When I modify my Guest PC’s hosts file to:

172.16.6.62     www.dev.com

and open up Internet Explorer 9 and type in http://www.dev.com, it says Page not found. Any ideas on what I need to do to get this to work?

Answer

What are the subnet masks for both host and guest systems? It looks like they both should be 255.255.0.0 based on the IPs that you have identified.

Related posts:

  1. Enable external access to local website with www binding
  2. Automatically update ip-address in hosts file?
  3. Problem with accessing a website hosted on a local device connected to the local wireless network
  4. VPN Client not able to access a certain subnet
  5. Cisco 1841 router: NAT overload appears to not be working – config problem or host network problem?

Leave a comment