[X4U] Hosting on Dot Mac
Daly Jessup
jessup at san.rr.com
Fri Nov 16 04:53:42 PST 2007
At 19 37 +0000 11/13/07, David Ledger wrote:
>>How did you set up a server on your Mac to use a "loopback" address?
>
>I expected it to be 'localhost' but it didn't work. My bookmarked
>link was 'loopback' and that worked. I havn't used the webserver on
>my Pb for some time because of the space.
>
>I have an /etc/hosts file which has a
>127.0.0.1 loopback
>entry as I would expect. Maybe everyone doesn't have one. I will
>have copied it from my G4 which went to OSX at 10.0 beta and
>probably needed it back then.
>
>'loopback' and 'localhost' _should_ be different, as was until M$
>misunderstood it and wrecked it.
>loopback should point to 127.0.0.1 so that access to loopback goes
>direct and misses out a lot of the IP stack routines. localhost
>should point to the real IP address of the machine so that access to
>it goes through all the software to the interface and all the way
>back. Useful for testing (and a very easy way to get your IP
>address). When M$ started with their TCP/IP look-sort-of-alike they
>made them both 127.0.0.1 and it's stuck.
Okay, I sort of follow this, though I'm no Unix admin, that's for
absolutely sure. But I just had a look at my hosts file, and it has
only localhost, no loopback.
Daly
----------------------
_________________________________________________________
2.33 GHz Intel Core 2 Duo, 3 GB RAM, 24" screen, OS X 10.4.10,
NVIDIA GeForce 7600 GT video, wired Apple mouse and keyboard.
More information about the X4U
mailing list