diff --git a/neo4j/v1/connection.py b/neo4j/v1/connection.py index 25d25174..21ce4cf1 100644 --- a/neo4j/v1/connection.py +++ b/neo4j/v1/connection.py @@ -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