STINNER Victor added the comment:

Do you have a firewall? Maybe the firewall blocks programs listening on 
sockets? It would be silly, the socket is only listening on 127.0.0.1 (local 
link) (or ::1 in IPv6, also local link).


Extract of the socketpair() function:

                try:
                    csock.connect((addr, port))
                except (BlockingIOError, InterruptedError):
                    pass

Can you please try to replace this code with:

                try:
                    csock.connect((addr, port))
                except (BlockingIOError, InterruptedError) as exc:
                    print("CONNECT ERROR! %r" % (exc,))

You can copy socket.py from the Python standard library to the current 
directory and modify the local copy.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26520>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to