Port forwarding from guest to host
Posted: 9. Nov 2013, 17:28
Hello everyone,
I’m trying to forward standard port 80 from my guest OS (Windows XP) to port 80 on my host running Apache server (OSX 10.6) so that I can have seamless transition between domains and project settings.
I’ve read on NAT port forwarding and tried to use that technique but to no avail.
When I try to use standard IP address 10.0.2.2 it works as it should, but what I’m trying to emulate is 127.0.0.1 entered from guest to access 127.0.0.1 on host.
Is this possible? Is this something related to hosts file not having proper rules (I only have localhost rule in hosts file on guest machine)?
I’m trying to forward standard port 80 from my guest OS (Windows XP) to port 80 on my host running Apache server (OSX 10.6) so that I can have seamless transition between domains and project settings.
I’ve read on NAT port forwarding and tried to use that technique but to no avail.
When I try to use standard IP address 10.0.2.2 it works as it should, but what I’m trying to emulate is 127.0.0.1 entered from guest to access 127.0.0.1 on host.
Is this possible? Is this something related to hosts file not having proper rules (I only have localhost rule in hosts file on guest machine)?