On Wed, 13 Jul 2016, in the Usenet newsgroup comp.protocols.tcp-ip, in article
Post by Alex MartinRunning OS X, and when I connect to a local server via localhost, the
'client address' is always 0.0.0.0.
Lack of info - where do you see the information? Is this something in
the server logs, something displayed by the client, the server, or...
Post by Alex MartinI'm wondering if this is normal, OS X weirdness, or a bug?
Not enough info. 0.0.0.0 (and in fact the entire 0.x.x.x range) is
IP's version of saying "me, but I don't know my name or address".
From RFC6890 (Special-Purpose IP Address Registries):
+----------------------+----------------------------+
| Attribute | Value |
+----------------------+----------------------------+
| Address Block | 0.0.0.0/8 |
| Name | "This host on this network"|
| RFC | [RFC1122], Section 3.2.1.3 |
| Allocation Date | September 1981 |
| Termination Date | N/A |
| Source | True |
| Destination | False |
| Forwardable | False |
| Global | False |
| Reserved-by-Protocol | True |
+----------------------+----------------------------+
and that's referring to RFC1122 (Requirements for Internet Hosts -
Communication Layers.). OS X - you'd have better luck asking in an
OSX newsgroup (one of the comp.sys.mac.* most likely), but what's in
the /etc/hosts file? On many UNIX like systems, you'd see something
like
[herschel ~]$ cat /etc/hosts
127.0.0.1 localhost
192.168.1.6 herschel.phx.az.us
::1 localhost ip6-localhost ip6-loopback
[herschel ~]$
where this host is known on the LOCAL network as herschel. Is that
first "localhost" line there?
Old guy