cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

Connection Refused

TK36
Node Link

I have been using Neo4j on a ubuntu server for months, but I downloaded the dependencies for apoc.mongodb a few days ago, then restarted Neo4j following the instructions here. I no longer can connect to Neo4j since I did this! I tried the browser and the shell. In both cases, I get "connection refused". The configuration file is the same, and nothing changed at all. I can't find any explanation for this!

Here is some detailed info that may be needed:

Neo4j version: 4.4.4 The command to restart neo4j: sudo systemctl restart neo4j.service The network configurations: dbms.default_listen_address= (I also tried 0.0.0.0)

Bolt connector:

dbms.connector.bolt.enabled=true

dbms.connector.bolt.tls_level=DISABLED

dbms.connector.bolt.listen_address=:0.0.0.0:7687

#dbms.connector.bolt.advertised_address=:7687

HTTP Connector:

dbms.connector.http.enabled=true

dbms.connector.http.listen_address=0.0.0.0:7474

#dbms.connector.http.advertised_address=:7474

Can someone please help me solve this issue?

1 ACCEPTED SOLUTION

Check /var/log/neo4j/debug.log for any startup errors, it might be that you're missing a dependency.

Did you try to remove the apoc-mongodb dependencies if it works again then?

View solution in original post

2 REPLIES 2

Check /var/log/neo4j/debug.log for any startup errors, it might be that you're missing a dependency.

Did you try to remove the apoc-mongodb dependencies if it works again then?

Removing the apoc-mongodb dependencies solved the problem