HTTP::Proxy and not using 127.0.0.1

HTTP::Proxy and not using 127.0.0.1

am 12.05.2006 00:10:31 von Neil Burnett

I am getting great results with HTTP::Proxy - as long as I use
127.0.0.1 as the proxy address in a browser on the same machine.

I would like to have a lan-available proxy so have tested with using
the machine ip it is running on: 192.168.0.73, but the proxy doesn't
get contacted, even by a browser on the local machine.

I feel sure this is an easy problem, but the things I have tried so far
haven't fixed it for me:

my $proxy = HTTP::Proxy->new( PeerAddr =>'192.168.0.73',port => 8080 );
my $proxy = HTTP::Proxy->new( LocalAddr=>'192.168.0.73',port => 8080 );
my $proxy = HTTP::Proxy->new( MultiHomed =>1,port => 8080 );

Any suggestions gratefully received.

If it matters, I am using a WinXP machine with Activestate ActivePerl
5.8.8 build 816. The MS-Firewall has port 8080 unblocked.

Neil

Re: HTTP::Proxy and not using 127.0.0.1

am 12.05.2006 01:28:30 von sam.bartlett

If you haven't already, check the firewall on the remote machine.
It's probably blocking incoming connections on that port.

Re: HTTP::Proxy and not using 127.0.0.1

am 12.05.2006 13:31:24 von Neil Burnett

Just cracked it:

my $proxy = HTTP::Proxy->new( host=>'192.168.0.73',port => 8080 );