I created a virtual machine on Virtualbox with Ubuntu 12.04 only to install a LAMP solution and use it with my host machine, but I can't access the localhost using the ip (10.0.2.15) in the browser .
Is there any way to solve this problem ?
I created a virtual machine on Virtualbox with Ubuntu 12.04 only to install a LAMP solution and use it with my host machine, but I can't access the localhost using the ip (10.0.2.15) in the browser .
Is there any way to solve this problem ?
First you should change the Network adapater to Bridged (It seems you are choosing NAT)
Then you can give an ip to your guest machine other than 10.0.2.15
(or you can leave it if you want)
then open a browser from your host machine and type: ip-address-of-your-guest-machine/...