Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion neo4j/v1/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def connect(host, port=None, ssl_context=None, **config):
try:
s = create_connection((host, port))
except SocketError as error:
if error.errno == 111 or error.errno == 61:
if error.errno == 111 or error.errno == 61 or error.errno == 10061:
raise ProtocolError("Unable to connect to %s on port %d - is the server running?" % (host, port))
else:
raise
Expand Down