Skip to content

Instantly share code, notes, and snippets.

@zhuangya
Created April 4, 2012 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhuangya/2303702 to your computer and use it in GitHub Desktop.
Save zhuangya/2303702 to your computer and use it in GitHub Desktop.
[ 12:42AM ] [ nos@NosMacbookPro:~() ]
$ curl ifconfig.me/ip
117.79.233.219
[ 12:42AM ] [ nos@NosMacbookPro:~() ]
$ curl -vvv http://tp1.sinaimg.cn/1460234684/50/1294316630/1
* About to connect() to tp1.sinaimg.cn port 80 (#0)
* Trying 203.69.138.10... connected
* Connected to tp1.sinaimg.cn (203.69.138.10) port 80 (#0)
> GET /1460234684/50/1294316630/1 HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: tp1.sinaimg.cn
> Accept: */*
>
* Recv failure: Connection reset by peer
* Closing connection #0
curl: (56) Recv failure: Connection reset by peer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment