As we all know the IPv4 address for localhost is 127.0.0.1 (loopback address). What is the IPv6 address for localhost and for 0.
localhost
127.0.0.1
0.
The ipv6 localhost is ::1. The unspecified address is ::. This is defined in RFC 4291 section 2.5.
::1
::