[Twisted-Python] CannotListenError

Itamar Shtull-Trauring itamar at itamarst.org
Wed Aug 24 14:27:31 EDT 2005

On Wed, 2005-08-24 at 20:10 +0200, Henning.Ramm at mediapro-gmbh.de wrote:
> If my server app crashes, it often leaves its ports open, so that I get a CannotListenError 'Address already in use'.
> (I'm on Win2k.)

SO_REUSEADDR is supposed to allow this. I think I disabled that for TCP
on windows as it caused some failing tests, but in retrospect those
tests are probably less important than the actual functionality it
provides. Open a bug in http://twistedmatrix.com/bugs/ and assign it to

More information about the Twisted-Python mailing list