You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…v6 support by introducing getaddrinfo; one consequence of using getaddrinfo is that the address for hostname relies on the underlying C-API. A hostname of "" throws an error on linux but not on windows. Hence, the default value of hostname was change to None resulting in the default address becoming localhost. By adding the AI_PASSIVE flag, a hostname of None will result in a wildcard address (INADDR_ANY for IPv4 addresses, IN6ADDR_ANY_INIT) is used by applications to listen on all interfaces.
comrumino
added
Done
The issue discussion is exhausted and is closed w/ comment
and removed
To Start
Description reviewed and a maintainer needs "to start" triage
labels
Dec 26, 2020
Thanks for reporting! The commit message for de0c515 explains some context and the root cause of this issue. In short, I added socket.getaddrinfo to fix IPv6 support and changed the default behavior to bind to local host instead of the wildcard address. Until the next release, a workaround is to specify the hostname as 0.0.0.0.
run client but get "socket.timeout:timed out"
Environment
Minimal example
Server ( ip is 192.168.0.123):
Client (on another computer):
The text was updated successfully, but these errors were encountered: