[Python-Dev] buildbot
Andrew Bennetts
andrew-pythondev at puzzling.org
Tue Jan 10 09:49:55 CET 2006
On Tue, Jan 10, 2006 at 09:15:56AM +0100, "Martin v. Löwis" wrote:
[...]
>
> I know I could limit the Twisted webserver to localhost using
> firewalling/iptables (and I will need to if there is no other
> option); just having it generate static pages would have been
> more convenient.
For this part at least, it's easier than that; you can pass
interface='127.0.0.1' to the relevant listenTCP or TCPServer call, so that it
will only bind that port to localhost.
-Andrew.
More information about the Python-Dev
mailing list