i try to call this api but there was an error
cURL Error #:couldn't connect to host
i try this code
<?php
$url = 'http://134.255.218.101:3002/ext/getaddress/GeHSBSKg5kav6vy6neQB5XsZ29zsNRyqeb';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'http://134.255.218.101:3002/ext/getaddress/GeHSBSKg5kav6vy6neQB5XsZ29zsNRyqeb',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array(
"accept: application/json",
"cache-control: no-cache",
"content-type: application/json"
),
));
echo $response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
?>
there was an issue with proxy server...?
how can i solve it in php