David
David

Reputation: 41

arangodb server connection refused

I installed the newest version of ArangoDB on my Mac (macOS High Sierra) and when I try to connect to the server via

*localhost:~ davidoff$ arangosh --server.username "root" --server.database _SYSTEM*

I get the following error message:

Could not connect to endpoint 'http+tcp://127.0.0.1:8529', database: '_SYSTEM', username: 'root' Error message: 'Could not connect to 'http+tcp://127.0.0.1:8529' 'connect() failed with #61 - Connection refused'

I couldn't open http://localhost:8529 via the browser either. Same error message. Any recommendations how to handle this?

Upvotes: 2

Views: 2383

Answers (2)

KTCO
KTCO

Reputation: 2203

Double check endpoint value in /etc/arangodb3/arangod.conf

If necessary, update /etc/arangodb3/arangod.conf, or add --server.endpoint tcp://YOURENDPOINTHOST:8529 to the command line parameters.

Run /etc/init.d/arangodb3 start or reboot (arangodb should start automatically).

Upvotes: 2

Simon Grätzer
Simon Grätzer

Reputation: 286

Is _SYSTEM a database that exists? The default should be _system

Upvotes: 2

Related Questions