apache - Access localhost (not 127.0.0.1 but other..) from a OS installed in virtual machine -


i want check localhost browser of windows 7 installed in virtualbox. have main os ubuntu.

when write 10.0.2.2 in w7/ie, go 127.0.0.1 in ubuntu. but..

what should go ip example 127.0.0.2??

regards

javi

i don't question 100%, localhost can accessed any* ip starting 127.x.x.x.

*=except net , broadcast addresses

update

after understanding real problem, has configuring network adapter between virtualbox , host. there several networking modes available (nat, bridged, ...). 1 using? see http://www.virtualbox.org/manual/ch06.html further information.

127.0.0.1 , 127.0.0.2 resolve same machine. have web application host headers distinguish between 2 connections?


Comments