Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Proxy using Perl

by andyford (Curate)
on Aug 29, 2007 at 17:02 UTC ( #635862=note: print w/ replies, xml ) Need Help??


in reply to Proxy using Perl

I ran your code substituting my proxy and a real website and it worked. Perhaps your proxy is running on an alternative port (mine is on 8080). In that case, you want to add a colon and your port number after the IP address of the proxy (123.123.123.123:8080, eg.)

Another possibility is that your proxy requires authentication to use. From the docs:

$agent->proxy(['http', 'ftp'] => 'http://username:password@proxy.myorg +.com');

non-Perl: Andy Ford


Comment on Re: Proxy using Perl
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://635862]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2014-07-28 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (209 votes), past polls