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)
its not only this ip. In ipv4 the whole
127.0.0.0/8subnet is the current computer / localhost, so every127.x.x.xpoints to localhost (i know its a bit silly, but so is a lot of legacy ip).127.0.0.1is 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 its01111111in 8 bit which is easy to detect in hardware.In ipv6 its much more sensible, only
::1is localhost.Sorry for wasting your time (but please use ipv6 anyways >:3)