Skip to content

Commit 46b9067

Browse files
author
Zhen Li
committed
Merge branch '1.0' into 1.1
2 parents e2fa92d + 251257a commit 46b9067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo4j/v1/bolt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def connect(host_port, ssl_context=None, **config):
418418
try:
419419
s = create_connection(host_port)
420420
except SocketError as error:
421-
if error.errno == 111 or error.errno == 61:
421+
if error.errno == 111 or error.errno == 61 or error.errno == 10061:
422422
raise ProtocolError("Unable to connect to %s on port %d - is the server running?" % host_port)
423423
else:
424424
raise

0 commit comments

Comments
 (0)