Re: cURL error number:7 cURL error:Failed to connect to
Deepesh Malviya <[email protected]>
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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-php