cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

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

fruitfulapproac
Graph Buddy

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

fruitfulapproac
Graph Buddy

View solution in original post

4 REPLIES 4

fruitfulapproac
Graph Buddy

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)