Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-04-2022 02:55 AM
I'm following the course Building Neo4j Applications with Python. I am stuck in creating a connection to the Neo4j server at localhost
on the default port number of 7687
. When I run 'driver.verify_connectivity()' on Python, I get the 'neo4j.exceptions.ServiceUnavailable: Could not connect to any routing servers' error'. I already tried to change the "neo4j://localhost:7687" port using the instructions in the following link: How to resolve Python Bolt Driver when executed gives an error "("Failed to establish connection to ...
But nothing change.
Is there someone who can help me?
Thanks
03-07-2022 06:20 AM
Hey @a.gennari97 !
This error indicates that the driver can't connect to a server at that address. Do you have a neo4j instance running locally? Can you connect to http://localhost:7474 ? Have you modified neo4j.conf at all?
03-10-2022 03:21 AM
Thanks Adam for helping me.
Answering your questions:
UPDATE
I used my credential in the auth and the url provided in the environment variables. I have just a message 'ExperimentalWarning: The configuration may change in the future'. I still cannot connect to http://localhost:7474
03-14-2022 03:48 AM
pip install neo4j
will only install the dependencies to your project.
You'll need an instance of Neo4j running somewhere. The course creates a Sandbox instance for you and the second lesson gives you the credentials you need. Or you can create another one at sandbox.neo4j.com. If you want to connect to a local instance you'll either need to download the binaries from neo4j.com or download Neo4j Desktop.
All the sessions of the conference are now available online