I make a request to the server with the API and immediately get an answer. Link If I execute such code in PHP , then an error comes. What could be the problem and how to solve it?
$url = 'http://185.47.152.162:82/prozone/gifts?session_id=1875c1e1642dcd03274b606f46343370'; $data = json_decode(file_get_contents($url)); echo '<pre>'.print_r($data).'</pre>'; Mistake
PHP Warning: file_get_contents ( http://185.47.152.162:82/prozone/gifts?session_id=1875c1e1642dcd03274b606f46343370 ): failed to open stream: Connection timed out
curl- webDev_