curl获取本机外网IP的几个命令

curl获取本机外网IP的几个命令:

    curl ifconfig.me
    curl icanhazip.com
    curl curlmyip.com
    curl ip.appspot.com
    curl ipinfo.io/ip
    curl ipecho.net/plain
    curl www.trackip.net/i
     
    #补充
    curl ip.sb
    curl ip.6655.com/ip.aspx
    curl whatismyip.akamai.com
    wget -qO - ifconfig.co
    dig +short myip.opendns.com @resolver1.opendns.com
    curl ident.me
    curl v4.ident.me
    curl v6.ident.me
    curl inet-ip.info
    #返回IP和地区
    curl ip.6655.com/ip.aspx?area=1
    curl 1111.ip138.com/ic.asp
    curl ip.cn
    curl cip.cc
————————————————
版权声明:本文为CSDN博主「longzhizhui926」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/longzhizhui926/article/details/83002685

posted @ 2021-05-17 08:41  da0h1  阅读(1136)  评论(0编辑  收藏  举报