root@localhost:~# curl --connect-timeout 3 -v -4 http://wordpress.org
* About to connect() to wordpress.org port 80 (#0)
* Trying 66.155.40.249...
* connected
* Connected to wordpress.org (66.155.40.249) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.26.0
> Host: wordpress.org
> Accept: */*
>
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 301 Moved Permanently
< Server: nginx
< Date: Tue, 09 Feb 2016 06:39:22 GMT
< Content-Type: text/html
< Content-Length: 178
< Connection: keep-alive
< Location: https://wordpress.org/
<
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
* Connection #0 to host wordpress.org left intact
* Closing connection #0
ну не через же палку же выводить...