SebastianG
SebastianG

Reputation: 9612

Cannot connect to neo4j running in droplet but using lynx to navigate to localhost:7474 works, ufw & digital ocean firewall configured

I'm running a brand new droplet in digital ocean running on Ubuntu 18.04.3 (LTS) x64, neo4j status is active and remote interface available on port 7474.

Firewall configuration:

enter image description here

UFW Status:

enter image description here

Upvotes: 1

Views: 201

Answers (2)

aemre
aemre

Reputation: 2580

I fixed problem to use this command. If you had been created container using 7474 and 7687 ports you will have an error "port is already allocated". So yo should delete this container.

Command :

docker run --name neo4j -p7474:7474 -p7687:7687 -d -v $HOME/neo4j/data:/data -v $HOME/neo4j/logs:/logs -v $HOME/neo4j/import:/var/lib/neo4j/import -v $HOME/neo4j/plugins:/plugins neo4j:latest

Upvotes: 0

Christophe Willemsen
Christophe Willemsen

Reputation: 20185

Can you make sure the following line in your neo4j.conf file is uncommented :

# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line:
dbms.connectors.default_listen_address=0.0.0.0

Upvotes: 0

Related Questions