I use MAMP Also. I didn't have to mess with the host file to use localhost. This may be an obvious question but are you pointing to the correct port? I think MAMP uses 8888 and 8889 by default.
Jamie On Mon, Jan 4, 2010 at 1:33 PM, Penny Laus <[email protected]> wrote: > > > > > On Sun, Jan 3, 2010 at 2:58 PM, DavidW <[email protected]> wrote: > >> >> >> Hi Guy >> >> Thanks for your suggestions. >> >> I tried the change and when I look at my hosts file I see this: >> >> >> Don't shoot me if I'm wrong, but Apple has definitely not made "hosts" > easy over the lifetime of OS X. For many versions, you (often) had to deal > with the NetInfo database - which was poorly documented, had a cryptic GUI > and was (I think) a NeXT hangover. NetInfo is now gone and I think they've > put in a new database for managing local hosts and the functions of "host". > Some people find that editing hosts works for them, others don't. (I don't > remember having a lot of luck.) > > A quick google turns up many links, here's a more-or-less modern one that > may be of help. > > http://jonathan.tron.name/2008/01/05/hosts-aliases-in-leopard > > I haven't tired it out but hope it's of some help. > > P.S. When I'm working on a Mac, I usually just type 127.0.0.1 and have done > with it. > > > > >

