如何从Ubuntu机器连接到Windows机器上运行的Neo4j服务器?

问题描述 投票:0回答:3

我正在使用 Neo4j 图形数据库。它在 Windows PC 上运行,网址为:

http://localhost:7474/browser/
。现在我想从运行 Ubuntu 操作系统的机器访问该服务器,以便我可以访问 Neo4j 浏览器并将其用于开发目的。

windows ubuntu neo4j graph-databases
3个回答
1
投票

这是您需要做的:-

  1. 取消注释“org.neo4j.server.webserver.address”并提供一个有效的IP地址,您希望在neo4j-server.properties中的端口7474处绑定neo4j http服务,然后重新启动neo4j服务器。
  2. 尝试通过输入 URL - http://:7474/ 访问本地计算机上的 Neo4j 服务器(不要使用 localhost)。
  3. 关闭所有防火墙并确保 :7474 可以从任何远程计算机访问。你也可以用 Telnet 测试一下。

如果上述所有操作都有效,那么您就完成了,并且可以从远程计算机访问您的 Neo4j 服务器。


0
投票

我认为您需要配置

conf/neo4j-server.properties
文件以允许从非本地主机地址进行访问。这是我文件的相关部分:

# Let the webserver only listen on the specified IP. Default is localhost (only
# accept local connections). Uncomment to allow any connection. Please see the
# security section in the neo4j manual before modifying this.
#org.neo4j.server.webserver.address=0.0.0.0

0
投票

我改变了C: 环氧乙烷4

© www.soinside.com 2019 - 2024. All rights reserved.