egrep
#返回IP地址
curl ip.6655.com/ip.aspx 
curl whatismyip.akamai.com 
wget -qO - ifconfig.co 
curl icanhazip.com 
dig +short myip.opendns.com @resolver1.opendns.com 
curl ident.me 
curl v4.ident.me 
curl curlmyip.com 
curl ifconfig.me 
curl inet-ip.info

#返回IP和地区 
1.curl ip.cn 
2.curl cip.cc

以上为可以用来查询外网IP的网址和方法。  

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-11-28
  • 2021-12-02
  • 2021-06-09
  • 2021-09-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-12-22
  • 2021-12-16
  • 2021-11-07
相关资源
相似解决方案