Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect ArangoDB remotely

Tags:

arangodb

I try to connect to ArangoDB which located in another server from my PC but seems unsuccessful. I then tried to access it by using the Web UI provided by typing the server ip http://x.x.x.x:8529 but failed too. I tried my luck on the localhost ArangoDB and replace it with my own PC ip address and it doesn't work too. It only works when the ip name is 127.0.0.1 or the name is localhost. May I know how to access arangoDB.

FYI, I have tried the approach here. Remote javascript interaction with arangodb but cannot get through.

Appreciate if anyone can help. Thanks.

like image 802
SH. Goh Avatar asked Jan 22 '15 03:01

SH. Goh


1 Answers

The server by default only opens its ports on 127.0.0.1 and without any authentication.

You can edit the config file "arangod.conf" to change this. Change the line

endpoint = tcp://127.0.0.1:8529

to

endpoint = tcp://0.0.0.0:8529

In order to enable authentication you can change

disable-authentication = yes

to

disable-authentication = no
like image 135
fceller Avatar answered Oct 21 '22 10:10

fceller