Charles-François Natali added the comment:

That's what I thought:

08:01:24.824406 bind(3, {sa_family=AF_INET, sin_port=htons(0), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0 <0.000024>
[pid  1698] 08:01:24.825502 listen(3, 1) = 0 <0.000035>
[pid  1698] 08:01:24.825786 accept(3,  <unfinished ...>
[pid  1697] 08:01:24.837622 connect(5, {sa_family=AF_INET, 
sin_port=htons(43785), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS 
(Operation now in progress) <0.000074>
[pid  1697] 08:01:24.837811 select(6, [5], [5], [5], {0, 10000}) = 0 (Timeout) 
<0.010095>
[pid  1697] 08:01:27.876188 select(6, [5], [5], [5], {0, 10000}) = 0 (Timeout) 
<0.010096>
[pid  1697] 08:01:27.886388 futex(0x1bb8280, FUTEX_WAIT_PRIVATE, 0, NULL
<PNR>

See the EINPROGRESS?
The connect() doesn't return within 3 seconds.

You probably have a firewall on your machine.

What does:
# iptables -L

return ?

----------

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

Reply via email to