返回本机IP地址
ipv4
https://ipv4.ddnspod.com https://api-ipv4.ip.sb/ip https://myip.ipip.net https://ddns.oray.com/checkip https://speed.neu.edu.cn/getIP.php
https://ipv6.ddnspod.com https://api-ipv6.ip.sb/ip https://v6.myip.la/json https://speed.neu6.edu.cn/getIP.php
配合wget 或curl 或者python的基础爬虫,就可以看到自己的公网ip地址,如:
wget http://ipv6.ddnspod.com -O ipv6
cat ipv6