<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Http-recorder] setting up the proxy....</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=400465719-08062004>Well,
it was the proxy module that was limiting it to the localhost access
only.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=400465719-08062004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=400465719-08062004>If I
added in $proxy->host(""); after the line in the proxy sample
program, it will</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=400465719-08062004>allow
any host to proxy (NOT A GOOD SECURITY OPTION), but it is ok for testing
:)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=400465719-08062004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=400465719-08062004> my $proxy =
HTTP::Proxy->new();<BR> $proxy->host("");</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=400465719-08062004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=400465719-08062004>George</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader><FONT size=2>>From: Roland Giersig [<A
href="mailto:RGiersig@cpan.org">mailto:RGiersig@cpan.org</A>]</FONT> <BR><FONT
size=2>>Sent: Tuesday, June 08, 2004 12:30 PM</FONT> <BR><FONT
size=2>>To: http-recorder@lists.bestpractical.com</FONT> <BR><FONT
size=2>>Subject: Re: [Http-recorder] setting up the proxy....</FONT>
<BR><FONT size=2>></FONT> <BR><FONT size=2>></FONT> <BR><FONT
size=2>>It could be that the proxy only binds the socket for 8080 for
</FONT><BR><FONT size=2>>localhost,</FONT> <BR><FONT size=2>>not for
general IP adresses (but I find that highly </FONT><BR><FONT
size=2>>improbable). What is</FONT> <BR><FONT size=2>>the exact error?
Can telnet establish a connection, but it gets closed</FONT> <BR><FONT
size=2>>immediately? This would point to some sort of access control.
</FONT><BR><FONT size=2>>Or, if the</FONT> <BR><FONT size=2>>connection
cannot be established per se, then the port isn't visible</FONT> <BR><FONT
size=2>>from outside the server, i.e. the socket is bound to accept only
from</FONT> <BR><FONT size=2>>localhost.</FONT> <BR><FONT
size=2>></FONT> <BR><FONT size=2>>Roland</FONT> <BR><FONT
size=2>></FONT> </DIV></BLOCKQUOTE></BODY></HTML>