今天须要跟对接商调接口 发现一只访问不了 ,问了以后 才发现是 咱们ip 木有访问权限 curl
查看本身外网IP网址是 http://www.whatsmyip.org/ url
还有一个网址 http://ip.cn/ unix
在lunix下 能够用 curl ip.cn 这样得到 接口