ipv6本地回路测试需要用到localhost...
ipv4中是127.0.0.1
ipv6使用 ::1
参考:
https://en.wikipedia.org/wiki/Localhost
原文如下:
IPv4 network standards reserve the entire 127.0.0.0/8 address block for loopback purposes. That means any packet sent to one of those 16,777,214 addresses (127.0.0.1 through 127.255.255.254) is looped back. IPv6 has just a single address, ::1.
The resolution of the name localhost into one or more IP addresses is configured by the following lines in the operating system's hosts file:
127.0.0.1 localhost ::1 localhost