cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

`cypher-shell` prints Unable to connect to localhost:7687, ensure database is running

I'm following the instructions here:

To set up Neo4j on Debian 10.

I'm getting:

Unable to connect to localhost:7687, ensure the database is running and that there is a working network connection to it.

I've started the service and it is running using systemctl. I've edited the line
dbms.default_advertised_address=localhost

(I've uncommented it) And I restarted the service with systemctl.

Still no luck with cypher-shell. What other info do you need from me for this to be solved?

Same issue with either root or newly created user.

1 ACCEPTED SOLUTION

View solution in original post

4 REPLIES 4

I am new to Ubuntu and I am not really familiar with Ubuntu File System. Can you please explain in which file do I have to make this change?

For me, I have open the url in browser and do the following in the browser. Then, when I ran the ```cypher-shell command in terminal, it worked.

It is in the neo4j.conf file. (/etc/neo4j/neo4j.conf)