• Side note, why the hell did programmers make this as the home ip? Why couldn’t it have been something intuitive that said to normal people “home” in some way?

    I will never not be grumpy about this, it is such a trivial, random choice that only makes sense once you understand everything about it already.

    • its not only this ip. In ipv4 the whole 127.0.0.0/8 subnet is the current computer / localhost, so every 127.x.x.x points to localhost (i know its a bit silly, but so is a lot of legacy ip). 127.0.0.1 is just the first address in this subnet that can be used for devices. I would assume 127 was chosen because its the largest 7 bit number so its 01111111 in 8 bit which is easy to detect in hardware.

      In ipv6 its much more sensible, only ::1 is localhost.

      Sorry for wasting your time (but please use ipv6 anyways >:3)

      • I super appreciate the explanation and I figured that it makes sense when you look at the context… but still did this really have to be the home ip? I can never remember the sequence of numbers, I know it is only a handful of them but it is just so damn unintuitive that I almost always have to look it up because my memory recall is trash… and I don’t think I should have to it should be so obvious that anybody can remember it.

        Even if this “had” to be the home ip grammar… couldn’t they have at least created a commonly accepted shortcut/alternate name you could type in that normal people could remember?

      • MonkderVierte ( MonkderVierte@lemmy.zip ) 
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        3 days ago

        i know its a bit silly, but so is a lot of legacy ip

        The /usr thing? The Unix guys disk was full. The dotfiles thing? A bug in the Unix file system ls. And so on and so on. 1/3 of IT is just things someone decided on a whim. Another 1/3 is for obsolete reasons.