我们有一个本地网络,并在其中一台安装了neo4j服务器的计算机上运行。现在进行测试,我想从同一网络上的计算机访问它。我正在努力这样做?在同一网络上的另一台计算机上连接到neo4j?
我在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
我的代码中有什么可以从该机器访问它?
clientConnection = new GraphClient(new Uri("http://localhost:7474/db/data"));
我可以这样做吗?
clientConnection = new GraphClient(new Uri("http://DevPC1:7474/db/data"));