2

I use VirtualBox on my Mac to run IE for testing, but sometimes I want to test http://localhost. Is there a way to do that?

2 Answers2

3

Open Terminal, and type "ifconfig" to find out the IP address of the Mac OS X network interface. Look for en0: or en1:, for the field named "inet". It should be something like 192.168.1.100. Then type that in IE's address bar, like http://192.168.1.100/

(By the way, I don't have enough rep to do it, but this should probably be on SuperUser)

Paul Tomblin
  • 5,217
  • 1
  • 27
  • 39
0

You could use something like putty to forward a port from within the VM to localhost on the Mac OS.

Zoredache
  • 128,755
  • 40
  • 271
  • 413