Re: Probelm with connecting to port 444
Deepesh Malviya <[email protected]> Sun, 30 Jan 2011 11:26:39 +0530
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <[email protected]> |
You need to check on the server where you are trying to connect. Thanks On Sat, Jan 29, 2011 at 10:22 PM, Anil Guha <[email protected]> wrote: > Hello Deepesh, > > Which server do I check in my staging server or the server in which I am > connecting. > > > Thanks And Regards, > Anil Guha. > > On Sat, Jan 29, 2011 at 2:15 PM, Deepesh Malviya <[email protected]>wrote: > >> Check whether 444 port is open on server or not >> >> thanks >> >> 2011/1/29 Bartłomiej Blicharski <[email protected]> >> >> 'https://www.dexterbdportal.com:444/request.aspx, maybe ":444" make >>> problems >>> >>> 2011/1/28 Anil Guha <[email protected]> >>> >>>> Hello, >>>> >>>> I want to connect to an URL >>>> https://www.dexterbdportal.com:444/request.aspx , using PHP curl. My >>>> server curl version is 7.20. My code are as follows : >>>> >>>> <code> >>>> >>>> $ch = curl_init(); >>>> >>>> >>>> curl_setopt($ch, CURLOPT_URL, ' >>>> https://www.dexterbdportal.com:444/request.aspx'<https://www.dexterbdportal.com:444/request.aspx%27>); >>>> >>>> //curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); >>>> //curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); >>>> curl_setopt($ch, CURLOPT_PORT, 444); >>>> //curl_setopt($ch, CURLOPT_SSLVERSION, 3); >>>> >>>> curl_setopt($ch, CURLOPT_SSLCERT, dirname(__FILE__)."/cacert.pem"); >>>> curl_setopt($ch, CURLOPT_HEADER, 1); >>>> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); >>>> curl_setopt($ch, CURLOPT_POST, 1); >>>> curl_setopt($ch, CURLOPT_POSTFIELDS, $parameter); >>>> $data = curl_exec($ch); >>>> echo curl_error($ch); >>>> echo $data; >>>> curl_close($ch); >>>> >>>> </code> >>>> >>>> Can somebody please help me. >>>> >>>> Thanks And Regards, >>>> Anil Guha. >>>> >>>> _______________________________________________ >>>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php >>>> >>>> >>> >>> _______________________________________________ >>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php >>> >>> >> >> >> -- >> _Deepesh >> >> _______________________________________________ >> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php >> >> > > _______________________________________________ > http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php > > -- _Deepesh _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php