• 0 Posts
  • 1 Comment
Joined 1 年前
cake
Cake day: 2025年9月22日

help-circle
  • 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)