I'm trying to copy with images from a local WAMP. The image is accessible, but with this specific command it gives errors.
$url = "http://192.168.1.66/c/fotos/B00GO1MG8I.jpg";
$dest = "img.jpg";
copy($url,$dest);
The error that comes up is as follows.
Warning: copy(http://192.168.1.66/c/fotos/B00JZFG6QS.jpg): failed to open stream: Connection timed out.