Cannot access Mac's Virtual Hosts from XP Client

MichalM

Bit poster
I am having problem with accessing Virtual Hosts (located on my Mac) from XP installed via Parallels.

Here's the setup:

- Mac OS X 10.6.6
- using pre-installed apache running via Web Sharing (not using MAMP!)
- several virtual hosts set in apache's config
- Parallels 6 (latest)
- Windows XP Pro 64bit installed as Client
- Network setup set to Shared
- virtual hosts from Mac added to C:\Windows\system32\drivers\etc\hosts file

Pinging gateway (Mac) from Windows seems to work just fine, but cannot access websites hosted on it - neither by directly accessing IP nor by VHosts.

Turning off firewall didn't seem to help.

What am I doing wrong?
 
It was my fault as it turned out.
I was trying to connect to the gateway IP address, while Mac uses it only for routing. As a machine it retrieves the first available from the range.

Let's say the network address is 10.57.57.0 with mask 255.255.255.0.
Parallel's host on Mac sets gateway to 10.57.57.1
Mac as a machine gets 10.57.57.2, which means it in fact it is visible as 2 physical machines on Parallels' client's network with 2 separate IPs:
Gateway on Mac: 10.57.57.1
Mac as a network client on Parallels network: 10.57.57.2
And the virtual machine gets e.g. 10.57.57.3
 
Back
Top