0

I've been trying to access Apache from my host so I could access it from firefox etc. I've been following the guide How can I access Apache (on VirtualBox guest) from host? from this page but when I write

ifconfig | grep addr or just ifconfig, the only ip address I can see is the localhost 127.0.0.1.

I'm using host-adapter only(Virtual machine) and I'm currently sitting on my schools Wifi which everyone is using, and several people from my class is having no problems at all showing the internal ip address.

Anyone that could give me any solutions?

1 Answers1

0

Try switching to bridge adapter in the VirtualBox settings for your machine. If you choose bridge adapter for the machine it gets it's own local ip address from the dhcp. That way you can communicate with the machine from the host computer or any other computer on the LAN.