curl命令行下直接获取当前IP信息
curl cip.cc
curl myip.ipip.net
这个必要要带Https协议,否则就需要-L参数.因为会301重定向
curl https://tool.lu/ip
curl ipinfo.io
curl cip.cc
curl myip.ipip.net
这个必要要带Https协议,否则就需要-L参数.因为会301重定向
curl https://tool.lu/ip
curl ipinfo.io
转载于:https://my.oschina.net/chinaliuhan/blog/3071115