Solution to the VMWare/MAMP visibility issue:

Soldato
Joined
19 Oct 2002
Posts
3,480
hi guys,

as some of you may know, getting your VMWare Windows to see what is being served on the OS X MAMP server doesn't work, but i have a solution for those of you who would like to be able to see the mac hosted stuff from within windows for cross-browser checks and the like:

in your emulated windows, go to C:\WINDOWS\system32\drivers\etc\hosts (no extension)...

in this file you will see the line:

127.0.0.1 localhost

just add another line something like this:

192.168.0.2 mamphost

and it works :) - in IE navigate to http://mamphost:8888 and you'll see the mac hosted page...

i have my VMWare network connection bridged by the way, so it is essentially a separate entity on the network...

hope this helps some people ;)
 
Last edited:
heh, I just solved this this morning, weird. Only problem is that I have about 15 virtual hosts that I have to set up, but I haven't found a way to do that successfully yet :/
 
cool, well if you find a more re-usable solution on the server side or whatever, then post it up on this thread :)

the thing i dont get is why http://192.168.0.2:8888 doesn't work, but http://mamphost:8888 does when set up as above... isn't it the same :confused:

ahh well, important thing is it works, but if anyone know the answer to why the ip doesn't work i'd be interested to hear :)
 
Back
Top Bottom