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
Posted by sam.bartlett on May 11, 2006, 7:28 pm
Please log in for more thread options
If you haven't already, check the firewall on the remote machine.
It's probably blocking incoming connections on that port.
Posted by neilx on May 12, 2006, 7:31 am
Please log in for more thread options
Just cracked it:
my $proxy = HTTP::Proxy->new( host=>'192.168.0.73',port => 8080 );