5

求推荐几个获取本机 IPv6 地址的 API 接口

 2 years ago
source link: https://www.v2ex.com/t/835459
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

求推荐几个获取本机 IPv6 地址的 API 接口

  LxnChan · lxnchan · 9 小时 7 分钟前 · 380 次点击

最好大陆且有参数或直接强制返回 IPv6 地址

7 条回复    2022-02-21 23:50:58 +08:00

yumusb      8 小时 50 分钟前

curl ip.sb -6curl ip.sb -4

yumusb      8 小时 50 分钟前

curl ip.sd -4 curl ip.sd -6

newmlp      8 小时 4 分钟前

这玩意通过操作系统接口可以直接拿到吧,又不是 ipv4 还存在 nat

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK