STINNER Victor added the comment: Can you try simply:
socket.create_connection(("sadflkjsasf.i.nvali.d.", 80)) Here is raise: socket.gaierror: [Errno -2] Name or service not known And what are your DNS servers? cat /etc/resolv.conf ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23788> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com