如何打开 Neo4J Webadmin 进行远程控制? [英] How to open Neo4J Webadmin to remote control?

查看:37
本文介绍了如何打开 Neo4J Webadmin 进行远程控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的服务器上的 7474 端口上安装了一个 Neo4J 实例.我的域也在使用该服务器,我希望 webadmin 可以通过这样的用户名和密码远程使用:

I have installed a Neo4J instance on my server on port 7474. My domain is also using that server and I want webadmin to be used remotely with a username and a password like this:

example.com:7474

有没有办法做到这一点?我在 Neo4J 文档中找不到任何指南.

Is there a way to do that? I could not find any guideline in the Neo4J documentation.

推荐答案

你有机会通过 Neo4j 服务器配置文档?它说:

Did you get a chance to go through Neo4j Server Configuration documentation? It says:

#允许任何客户端连接

org.neo4j.server.webserver.address=0.0.0.0

org.neo4j.server.webserver.address=0.0.0.0

conf/neo4j-server.properties 中的这一行默认被注释并将对端口 7474 的访问限制为 localhost 或 127.0.0.1(这可能是使用该服务器并通过本地主机访问 Neo4j 对您的域有效的原因).取消注释该行,它应该使每个人都可以访问端口 7474,即 0.0.0.0.

This line in conf/neo4j-server.properties is commented by default and limits access to port 7474 to localhost or 127.0.0.1 (which probably is the reason why things work for your domain using that server and accessing Neo4j over localhost). Uncomment that line and it should make port 7474 accessible to everyone i.e. 0.0.0.0.

为了使用授权层保护您的 Neo4j 服务器,您可能需要参考 保护对 Neo4j 服务器文档的访问.

In order to secure your Neo4j server with an Authorization layer, you might want to refer Securing access to the Neo4j Server documentation.

这篇关于如何打开 Neo4J Webadmin 进行远程控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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