远程连接ArangoDB [英] Connect ArangoDB remotely

查看:376
本文介绍了远程连接ArangoDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试从PC连接到位于另一台服务器上的ArangoDB,但似乎未成功.然后,我尝试使用通过键入服务器ip http://xxxx:8529 提供的Web UI访问它,但是也失败了.我在localhost ArangoDB上尝试了运气,并用我自己的PC ip地址替换了它,但它也无法正常工作.它仅在ip名称为127.0.0.1或名称为localhost时才有效.我可以知道如何访问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.

仅供参考,我在这里尝试过这种方法. 与arangodb进行远程javascript交互,但无法通过.

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

感谢任何人都可以提供帮助.谢谢.

Appreciate if anyone can help. Thanks.

推荐答案

默认情况下,服务器仅在127.0.0.1上打开其端口,并且不进行任何身份验证.

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

您可以编辑配置文件"arangod.conf"进行更改.换行

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

endpoint = tcp://127.0.0.1:8529

endpoint = tcp://0.0.0.0:8529

要启用身份验证,您可以更改

In order to enable authentication you can change

disable-authentication = yes

disable-authentication = no

这篇关于远程连接ArangoDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆