Developer Forum [ All Topics | New Topic ]

Thread: HTTP Error: cURL ERROR: 7: Failed to connect to technet.rapaport.com port 449: Connection refused

i am trying to get pricelist with the help of nusoap_client in php. but i cant do it.
require_once('lib/nusoap.php');

$rap_soapUrl = "https://technet.rapaport.com/webservices/prices/rapaportprices.asmx?wsdl";
$soap_Client = new nusoap_client($rap_soapUrl, 'wsdl');
$rap_credentials['Username'] = "l1fxoup0edjgdr5dhdrk9dwhssbldo";
$rap_credentials['Password'] = "YiT8iqp4";

$result = $soap_Client->call('Login', $rap_credentials);
$rap_auth_ticket = $soap_Client->getHeaders();

if ($soap_Client->fault) {
echo 'Error: ';
print_r($result);
} else {
// check result
$err_msg = $soap_Client->getError();
if ($err_msg) {
// Print error msg
echo 'Error: '.$err_msg;
} else {
// Print result
echo 'Result: ';
print_r($result);
}
}
Please help me. i am new in programing


>> add a comment
rahul satani
08/02/2018 03:10


2 Replies:

HTTP Error: cURL ERROR: 7: Failed to connect to technet.rapaport.com port 449: Connection refused

Please help me with this.
it's working with other servers but not on my website hosted server  

Is it possible that it is because my website is not having an SSL certificate??


Please respond!!!

>> add a comment
Jill Gandhi
1/19/2022 2:24:00 AM
Yes 
You need to have an SSL certificate on your website for the code to work 
Thanks 

>> add a comment
Rapnet Technical
1/19/2022 3:37:00 AM