IP addresses are just numbers
An IPv4 address is a 32-bit number written as four decimal octets. 8.8.8.8 is 134744072 in decimal and 0x08080808 in hexadecimal. IPv6 addresses are 128-bit numbers written as eight groups of hexadecimal digits.
Integer forms are handy for storing IPs in databases, comparing ranges and sorting. Some systems and URLs also accept the decimal form directly.
Perguntas frequentes
Why do some browsers open http://134744072?
Browsers accept a single 32-bit integer as an IPv4 address, so http://134744072 is the same host as http://8.8.8.8.
How do I store IPv6 in a database?
Use a native inet type (PostgreSQL) or a 16-byte binary column; 128-bit integers exceed most numeric column types.