I am unable to access applications running on my host machine via localhost on my guest machine. I have reviewed this question, and tried to implement several answers but I am unable to access localhost in XP and Windows 8 (Windows 7 works fine).
My configuration on the all of the virtual boxes:
- VirtualBox: I have 1 network adapter, which is set to
NAT - OS: I have added
10.0.2.2 localhosttoC:\WINDOWS\System32\drivers\etc\hosts - An application running at
:4567on my host machine is accessible in the guest machine viahttp://10.0.2.2:4567but nothttp://localhost:4567
I have several large applications interacting with the application I am currently testing that all hard code resources to localhost, so using anything but localhost is not going to work.
I understand that this is not ideal, but I don't have the time to make things more flexible at the moment :\