Skip to content

Failed to establish a new connection: [Errno 111] Connection refused #205

@mtgnoah

Description

@mtgnoah

NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2fc2ea8b0>: Failed to establish a new connection: [Errno 111] Connection refused

This is the code to test. This is running on a community version. I used pip to install

from arango import ArangoClient
client = ArangoClient(hosts='http://127.0.0.1:8529')
db = client.db(username="root", password="")
print(db.name)
result = db.create_database("test")
print(result)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions