I'm having problems connecting to my local virtual machine if I'm off the internet. When I'm properly connected to the internet, I have no problem also connecting to my local server.
Setup
- Host: MacBook Pro, OSX Snow Leopard
- Guest: VirtualBox, Fedora with Apache Httpd webserver
Use case
I am developing web applications, which are served by my local virtual webserver. I browse them from the host browser.
When AirPort is correctly connected to a wifi, I can also connect to the local webserver, but as soon as I don't have wifi connection, or if I turn off AirPort manually, I also lose the connection to the local webserver. This is a problem since I would like to be able to take my laptop anywhere and be able to do development work.
The solution?
Should I change the network setting for the vm in VirtualBox, or is it a OSX setting related to AirPort or the ethernet card that can fix this?
If you need more details about my configuration, let me know and I will amend.
Thanks, Jakob