It seems some firewall blocking the Crawlera proxy port. Can you please check the firewalls and open the port 8010.
R
Rajesh Singh
said
about 2 years ago
Hi,
When I run this script from my local XP machine, it works fine but when I do the same from a remote server running on Linux, it says: 500 Can't connect to proxy.crawlera.com:8010 (connect: Connection refused).
Can you tell me what the issue could be? Thanks
nestor
said
over 4 years ago
Answer
This should work:
#!/usr/bin/perl
use LWP::UserAgent;
my $agent = LWP::UserAgent->new();
$agent->proxy(['http', 'https'], "http://APIKEY:@proxy.crawlera.com:8010");
print $agent->get('http://httpbin.scrapinghub.com/ip')->content();
Gopal Velkan
How i can call Crawlera in PERL script
This should work:
- Oldest First
- Popular
- Newest First
Sorted by Newest Firstthriveni
It seems some firewall blocking the Crawlera proxy port. Can you please check the firewalls and open the port 8010.
Rajesh Singh
Hi,
When I run this script from my local XP machine, it works fine but when I do the same from a remote server running on Linux, it says: 500 Can't connect to proxy.crawlera.com:8010 (connect: Connection refused).
Can you tell me what the issue could be? Thanks
nestor
This should work:
-
Crawlera 503 Ban
-
Amazon scraping speed
-
Website redirects
-
Error Code 429 Too Many Requests
-
Bing
-
Subscribed to Crawlera but saying Not Subscribed
-
Selenium with c#
-
Using Crawlera with browsermob
-
CRAWLERA_PRESERVE_DELAY leads to error
-
How to connect Selenium PhantomJS to Crawlera?
See all 350 topics