curl 查看本机公网IP

curl  ipinfo.io


[root@host-10-166-224-8 ~]# curl  ipinfo.io

{

"ip": "223.252.218.163",

"hostname": "No Hostname",

"city": "Guangzhou",

"region": "Guangdong",

"country": "CN",

"loc": "23.1167,113.2500",

"org": "AS45062 Guangzhou NetEase Computer System Co., Ltd."

}

posted @ 2022-06-15 16:59  katago  阅读(319)  评论(0)    收藏  举报