海阔中文网

875 views
2月 25 2021

如何telnet ipv6端口?

和ping命令一样,加个参数-6 就可以了

# telnet -6 ipv6.google.com 443
Trying 2607:f8b0:4007:803::200e...
Connected to ipv6.google.com.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
[root@zhzl ~]# telnet -6 ipv6.google.com 80
Trying 2607:f8b0:4007:80d::200e...
Connected to ipv6.google.com.
Escape character is '^]'.
^]
telnet> quit
Connection closed.

Written by 海阔中文网

海阔中文网真棒!