Connect ArangoDB remotely

空扰寡人 提交于 2019-12-03 17:47:46

问题


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.


回答1:


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


来源:https://stackoverflow.com/questions/28081017/connect-arangodb-remotely

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!