curl-and-php
Re: cURL error number:7 cURL error:Failed to connect to
Date: Thu, 8 Apr 2010 08:02:15 +0530
it could be the issue that on the server where it doesnt work doesnt
allow to open an outgoing connection to that port. tip: check the
firewall of that server.
On 4/8/10, Billy Kaye <billy.kaye_at_crystal-int.com> wrote:
> Hi ,
>
>
>
> I have php ,curl and libcurl installed on most of my servers the problem is
> it works on some servers and the
>
> Others it doesnot work .
>
> All have the same version of curl and php
>
> I do curl_exec($ch);
>
> then
>
> print_r(curl_getinfo($ch));
>
> echo "\n\ncURL error number:" .curl_errno($ch);
>
> echo "\n\ncURL error:" . curl_error($ch);
>
>
>
> Result is as below
>
>
>
> cURL error number:7 cURL error:Failed to connect to 192.168.24.121:
> Permission denied
>
>
>
> Am trying to connect to https://192.168.24.121:10000/
>
>
>
> Does curl have an issue with ports but how come it works on my other
> servers.
>
> Help will be very much appreciated
>
>
>
>
>
>
>
> Billy
>
>
-- _Deepesh _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2010-04-08