Reputation: 1222
I am using Neo4j graph database. Its running on Windows PC at url: http://localhost:7474/browser/
. Now I want to get access to this server from machine running Ubuntu OS, so that I can access Neo4j browser and can use it for development purpose as well.
Upvotes: 3
Views: 2513
Reputation: 1080
I changed C:\neo4j\conf\neo4j.conf like this (and it fixed it):
#*****************************************************************
# Network connector configuration
#*****************************************************************
# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line:
dbms.default_listen_address=192.168.1.5
I got the 192.168.1.5 from ipconfig:
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::34b8:a979:7171:9e8c%11
IPv4 Address. . . . . . . . . . . : 192.168.1.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Upvotes: 1
Reputation: 1420
Here is what you need to do: -
In case all the above works then you are done and your Neo4j server is accessible from remote machine.
Upvotes: 1
Reputation: 10856
I think you'll need to configure your conf/neo4j-server.properties
file to allow access from non-localhost addresses. Here's the relevant part of my file:
# 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
Upvotes: 0