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

I'm following the instructions here:

3X_9_a_9adc406b0f4a94eab49f6ab37bb52ab8f108cd4d.png DigitalOcean

How To Install and Configure Neo4j on Ubuntu 20.04 | DigitalOcean

Neo4j is a graph database that records relationships between data nodes, whereas traditional relational databases use rows and columns to store and structure data. Since each node stores references to all the other nodes that it is connected to,...

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.

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)