标签:
1. curl ipinfo.io
~/codes/qt_codes/qt-5.4.1-build$ curl ipinfo.io
{
"ip": "114.241.210.22",
"hostname": "No Hostname",
"city": "Beijing",
"region": "Beijing Shi",
"country": "CN",
"loc": "39.9289,116.3883",
"org": "AS4808 CNCGROUP IP network China169 Beijing Province Network"
}
2. curl http://members.3322.org/dyndns/getip
~/codes/qt_codes/qt-5.4.1-build$ curl http://members.3322.org/dyndns/getip
114.241.210.22
标签:
原文地址:http://www.cnblogs.com/zhangjiankun/p/4941020.html