Simple localhost/proxy Server

Tim Williams listserver at tdw.net
Sat Jul 24 12:31:08 EDT 2004


"Fuzzyman" <michael at foord.net> wrote in message
news:8089854e.0407232342.22682633 at posting.google.com...
> [snip..]
> > >
> >
> > You won't get much luck trying to send packets to 0.0.0.0. Perhaps if
you
> > try 127.0.0.1 port 8000 as your proxy.
>
> Right.. I suspected as much - unfortunately the proxy defaults to
> 0.0.0.0 - and I can't see a way of changing it. It's buried in the
> innards of BaseHTTPServer which is the base class for the Tiny Proxy.


 0.0.0.0 on the proxy means  "serve on all local addresses"

The OP meant,  "set your *browser* to connect to the proxy on 127.0.0.1 port
8000"  :-)




More information about the Python-list mailing list