远程连接 ArangoDB [英] Connect ArangoDB remotely

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

问题描述

我尝试从我的 PC 连接到位于另一台服务器上的 ArangoDB,但似乎没有成功.然后我尝试使用通过键入服务器 ip http://xxxx:8529 提供的 Web UI 来访问它,但也失败了.我在本地主机 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天全站免登陆