I'm configuring a LAMP development environment inside a VM and I'm no Linux/networking champ but I'm trying.
I've installed Centos (5.6) in a VM (VirtualBox) on my local machine. I've set networking mode to "Network Bridge" which, if I understand correctly, means that the VM gets an IP adress from the network my local machine is connected to.
My question: what if I'm not connected to a network (like on an airplane) and I want to do some programming. I'm guessing that the VM doesn't get a connection to a network because there is no network. Because the VM is not connected to a network I can't reach it on my host machine.
How would I go about accessing (using HTTP) the LAMP-VM on my local machine without having to depend on an external network?
(I'm not looking for a solution where I run Apache locally, I need to have a duplicate of the production environment)
Update: host OS: Windows 7 Pro