Bug #1492
Input cannot listen on all addresses on Windows
Start date:
09/20/2016
Due date:
% Done:
100%
History
#2 Updated by Luke Murphey over 7 years ago
Example of a simple server at http://www.binarytides.com/python-socket-server-code-example/
#3 Updated by Luke Murphey over 7 years ago
- File listener.py View added
#4 Updated by Luke Murphey over 7 years ago
netstat says it is listening on ::
TCP [::]:2121 [::]:0 LISTENING [python.exe]
#5 Updated by Luke Murphey over 7 years ago
It looks like the ftp library is using getaddrinfo()
https://docs.python.org/2/library/socket.html#socket.getaddrinfo
It appears that the hostname must be used. Listening works when I connect to ftp://localhost:2121.
#6 Updated by Luke Murphey over 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100