Welcome to WebmasterWorld Guest from 54.197.171.28

Forum Moderators: travelin cat

Message Too Old, No Replies

accessing localhost in a virtual machine

how to?

   
1:29 pm on Jul 17, 2009 (gmt 0)

10+ Year Member



i develop on my MAMP localhost and for browser testing id like to be able to access my local sites in my VM Ware fusion virtual machine.

obviously when i enter [localhost...] in winxp IE my sites dont load. im not sure what i want to do is possible since the VM is in effect isolated from the OSX operating system.

anyone know how to do this?

5:42 pm on Jul 19, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Does the MAMP use OS X's web sharing? If so, in that preference panel, it tells you what the IP address of the web share is. That's so you can access it from other machines on your network. You should be able to access it from inside the VM as well. I just tried it and it does work in Parallels.
6:25 pm on Jul 19, 2009 (gmt 0)

10+ Year Member



excellent, i wasnt familiar yet with this feature.

thanks fredw!

[edited by: travelin_cat at 10:45 pm (utc) on July 19, 2009]
[edit reason] removed address [/edit]