Re: Why is it a loopback address?
https://en.wikipedia.org/wiki/0.0.0.0
"IANA, who allocate IP addresses globally, have allocated the single IP address 0.0.0.0[1] to RFC 1122 section 3.2.1.3. It is named as "This host on this network".
It prohibits this as a destination address in IPv4 and only allows it as a source address under specific circumstances."
It shouldn't be allowed at all, and the 0.0.0.0 we see in various places (e.g. in early DHCP packets as a source before IPs are allocated) is a convention using an address that literally shouldn't ever appear in a valid packet - it's used as a "non-IP" indicator for "no IP" or "listen on all", or even "there is no gateway for this route", etc.
But browsers shouldn't be allowing it to create a packet with that as the destination, and there's no real use for listening to packets on that address (so it simply shouldn't be possible in the OS anyway).
No packet should ever be created using 0.0.0.0 as a destination, and thus no webpage should ever be able to send requests/packets to 0.0.0.0.
However, even if the OS allows it, the browser certainly shouldn't be treating it as somewhere that webpages can open Websockets etc. to.