[Command line] Curl Query public network export IPJuly 22, 2016 14:27:02Hits: 19022
Whether in the home or the office, or the company's host, many times are in the intranet, that is, many of them are through Nat Internet, and sometimes need to query the public network IP, if there is a browser, you can use Baidu, Google search ip
this keyword to get the public network IP, What if it's under the command line? The following is the operation of the development group of the Great God to share a few interfaces, collated the next to share to everyone.
[Email Protected]|logs# Curl Ipinfo.io{"IP":"114.110.1.38","Hostname":"No Hostname","City":"Beijing","Region":"Beijing Shi","Country":"CN","Loc":"39.9289,116.3883","Org":"AS4808 cncgroup IP network China169 Beijing province Network"}%[email protected]|logs # curl ip.cn current Ip:114.110. 1.38来 from: Beijing Guangdong Heng Dun Communication Technology BJ Branch [email protected]|~ # Curl Cip.ccip: 114.110.1.38 Address: Beijing, China data two: Beijing | Guangdong Heng Dun Communication Technology BJ Branch url:http:// Www.cip.cc/114.110. 1.38[email protected]|~ # curl myip.ipip.net current Ip: 114.110.1.38 from: China Beijing Beijing Unicom/Telecom [email protected]|~ # Curl Ifconfig.me114.110. 1.38[email protected]|logs # Curl Http://members.3322.org/dyndns/getip114.110. 1.38
Several URLs are also very good memories
- ip.cn
- Ipinfo.io
- cip.cc
- Ifconfig.me
- Myip.ipip.net
Curl Myip.ipip.net Curl ip.cn Curl cip.cc