Open gyan111 opened 2 years ago
I am using Goutte with Laravel and hosted on shared hosting.
On local few proxies are working and few are not.
But on server which is a namecheap shared hosting proxy not working at all.
Here is my code.
use Symfony\Component\HttpClient\HttpClient; use Goutte\Client;
used in different order too but same issue.
$proxy='5.11.17.230:1080'; $config = ['proxy' => $proxy, 'timeout' => 60]; $client = new Client(HttpClient::create($config));
error
Failed to connect to 5.11.17.230 port 1080: Connection refused for
I have used several proxies from several source but same issue.
I am using Goutte with Laravel and hosted on shared hosting.
On local few proxies are working and few are not.
But on server which is a namecheap shared hosting proxy not working at all.
Here is my code.
use Symfony\Component\HttpClient\HttpClient; use Goutte\Client;
used in different order too but same issue.
$proxy='5.11.17.230:1080'; $config = ['proxy' => $proxy, 'timeout' => 60]; $client = new Client(HttpClient::create($config));
error
I have used several proxies from several source but same issue.