Hacker News new | ask | show | jobs
by oarmstrong 1372 days ago
https://en.m.wikipedia.org/wiki/IPv4#Addressing

> IPv4 addresses may be represented in any notation expressing a 32-bit integer value.

I remember reading a man page that explained this really succinctly but I cannot remember which one it was. A tool like ping I believe.

2 comments

> When fewer than four numbers are specified in the address in dotted notation, the last value is treated as an integer of as many bytes as are required to fill out the address to four octets. Thus, the address 127.65530 is equivalent to 127.0.255.250

Wow, it actually works: http://127.65530

TIL

This was a thing in late 90s spam.
Bingo!