What is IPV6 for localhost and 0.0.0.0?

前端 未结 5 793
花落未央
花落未央 2020-11-30 23:12

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.

5条回答
  •  借酒劲吻你
    2020-11-30 23:43

    The ipv6 localhost is ::1. The unspecified address is ::. This is defined in RFC 4291 section 2.5.

提交回复
热议问题