Access localhost from a VirtualBox Guest OS on Ubuntu

I recently installed Windows 7 via VirtualBox for some cross browser testing.  While in development I needed to map localhost from the Windows 7 Guest OS to my Apache server in Ubuntu.  Some quick searching around turned up the following ip address.  All I had to do was update the current localhost line in my Windows 7 hosts file.

10.0.2.2    localhost
comments powered by Disqus

© Balanced Scale Media, LLC. All right reserved.