in reply to Re: using http::record if inside fire wall
in thread using http::record if inside fire wall

So you need to use a proxy ($foo) to be able to reach the internet because of your firewall? If that's the case, just supply HTTP::Proxy with a LWP::UserAgent object configured to use $foo.

Thats correct, because of firewall I added
$agent->proxy('http', "real-proxy");
I did tried with above line uncommented but it does't work, I mean doesn't connect to internet.
thanks
Vinay
  • Comment on Re^2: using http::record if inside fire wall

Replies are listed 'Best First'.
Re^3: using http::record if inside fire wall
by PodMaster (Abbot) on Jun 18, 2004 at 06:53 UTC
    Turn on debugging to figure out whats going on (see perldoc LWP::Debug)

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      Hi All, Yea!! its working. Ok I did two changes.
      1. I changed port from default(8080) to some other, just incase I was running something else on that port.
      2. I changed line from
      $agent->proxy('http', "real-proxy"); To $agent->proxy('http', "http://real-proxy");
      I think second change did the trick. Thank you all very much for your sugession. regards Vinay