简体   繁体   English

无法访问ArangoDB Web界面

[英]Not able to access to ArangoDB web interface

I've installed ArangoDB on an Ubuntu server. 我已经在Ubuntu服务器上安装了ArangoDB。 I can connect with arangosh but not able to connect from the web interface. 我可以与arangosh连接,但无法从Web界面连接。

Tried so many things like in conf files : 尝试了很多类似conf文件中的内容:

tcp://0.0.0.0:8529

tcp://my.server.ipaddress:8529

tcp://myservern.ndd:8529

Always getting : ERR_CONNECTION_TIMED_OUT 总是得到:ERR_CONNECTION_TIMED_OUT

It was actually because the port 8529 was not opened so I opened it with : 实际上是因为8529端口没有打开,所以我用以下命令打开了它:

sudo ufw allow 8529

And don't forget to add your domain instead of localhost IP on arangod.conf : 并且不要忘记在arangod.conf上添加您的域而不是localhost IP:

endpoint = tcp://your.dev.ndd:8529

The reason is the tcp:// . 原因是tcp:// Its intended if you use arangosh as a client to ArangoDB or via a driver. 如果您将arangosh用作ArangoDB的客户端或通过驱动程序,则可以使用它。

If you use your browser, you should use regular http:// - so in your case: 如果您使用的是浏览器,则应使用常规的http:// -,因此您的情况是:

http://my.server.ip.address:8529/

or... 要么...

http://myserver.ndd:8529

You should also make sure that no firewall is blocking the connection (eg port not open), and revalidate 您还应确保没有防火墙阻止连接(例如,端口未打开),然后重新验证

netstat -alnpt

that arangod really listens to 0.0.0.0:8529 那阿兰戈德真的听了0.0.0.0:8529

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM