Welcome to WebmasterWorld Guest from 18.208.159.25

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)

Preferred Member

10+ Year Member

joined:May 4, 2004
posts: 394
votes: 0


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 July 19, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 20, 2005
posts:672
votes: 0


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 July 19, 2009 (gmt 0)

Preferred Member

10+ Year Member

joined:May 4, 2004
posts:394
votes: 0


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]