curl-users
curl hangs at " to connect to any host
Date: Sun, 20 Oct 2013 03:01:06 +0200
Hi,
I've got a problem with cURL. It hangs when "Trying" to connect:
$ curl -v https://www.google.com
* About to connect() to www.google.com port 443 (#0)
* Trying 173.194.35.179...
no matter is it https or http.
$ curl -v http://www.google.com
* About to connect() to www.google.com port 80 (#0)
* Trying 173.194.35.179...
it works allright for the localhost:
$ curl -v http://localhost
* About to connect() to localhost port 80 (#0)
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.21.4 (x86_64-apple-darwin11.4.0) libcurl/7.21.4
OpenSSL/0.9.8r zlib/1.2.5
> Host: localhost
> Accept: */*
...
My setup is:
$ curl -V
curl 7.21.4 (x86_64-apple-darwin11.4.0) libcurl/7.21.4 OpenSSL/0.9.8r
zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps
pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM SSL libz
But I have tried also with other versions compiled on my machine (OS X
10.7). If that is not a cURL problem, then what are directions to find a
source of the problem?
Regards,
Martin
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-20