[Twisted-Python] specifying the site and port to a twisted web server

Itamar Shtull-Trauring itamar at itamarst.org
Wed Feb 28 08:52:57 EST 2007

On Tue, 2007-02-27 at 20:20 -0800, Dennis Allison wrote:
> I have written a highly simplified twisted web server using twisted
> extending one of the demos, but I have one small problem.

I assume there was good reason for not using twisted.web? or even web2?

> I cannot see out how to arrange to have the server listen one particluar
> address:port combination.  The system I want to use it on has a pair of
> NICs and I need the server to listen on one NIC and not the other due to
> port conflicts.

listenTCP(80, factory, interface="")

More information about the Twisted-Python mailing list