[Filterproxy-devel] Re: Connection problem?
Brought to you by:
mcelrath
From: Bob M. <mce...@dr...> - 2001-03-22 06:43:21
|
John Stamp [st...@ci...] wrote: >=20 > I think that I may have found a problem: >=20 > I have FilterProxy set to load on startup. I dial into my ISP, then try = to=20 > connect with Konqueror. Whatever site I point to returns "500 Can't conn= ect=20 > to..." =20 >=20 > The browser will only connect to sites if I restart filterproxy after a= =20 > connection is already up. If I do that, I can disconnect and reconnect a= s=20 > much as I want without any any further need to restart the proxy. =20 >=20 > I checked one other thing. If I restart filterproxy after the connection= =20 > goes down, then the error crops up again. >=20 > I'm running the latest package of filterproxy from Debian unstable, and u= sing=20 > it on Woody. >=20 > I hope this helps. If you need any further information, please let me kn= ow. =20 > If I'm doing something absolutely stupid, I hope you'll let me know that= =20 > too. Do you have filterproxy set up to bind to 'localhost' or some other IP? ($HOSTNAME parameter in FilterProxy.pl) My guess is that filterproxy starts up and tries to bind to your IP address. When you're not dialed into your ISP, it binds to 'localhost'. Then you dial into your ISP and point your browser to something other than 'localhost'. Meanwhile, filterproxy is listening to 'localhost', and no connections come. I think the default under linux is that if your hostname is 'blah' and some network program tries to bind to IP 'blah' when no network is active (only localhost), it will end up binding to 'localhost'. This should be true for any program which accesses the network. Note that you can explicitly tell filterproxy to use 'localhost' and tell your browser to use the proxy at http://localhost:8888, and this should work between dialing-in, since 'localhost' exists whether you're dialed in or not. If you're already using localhost, let me know...and I'll come up with another hare-brained theory. ;} -- Bob Bob McElrath (rsm...@st...)=20 Univ. of Wisconsin at Madison, Department of Physics |