[issue11812] transient socket failure to connect to 'localhost'

STINNER Victor report at bugs.python.org
Fri Jun 24 01:33:29 CEST 2011

STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Does the failure occur on other buildbots? If not, it's maybe something specific to this Windows Seven: a local firewall or something like that?

Can we use start instead of "localhost"? I don't know if it would change anything.

Note: the TCP server of test_telnetlib doesn't use SO_REUSEADDR whereas it starts/stops very quickly. We may be something like:

serv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list