Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not connect to Neo4j database. #10

Open
BishenCheng opened this issue Oct 6, 2024 · 3 comments
Open

Could not connect to Neo4j database. #10

BishenCheng opened this issue Oct 6, 2024 · 3 comments

Comments

@BishenCheng
Copy link

BishenCheng commented Oct 6, 2024

Hello author, I did not generate the env file after deploying docker, so I tried to create a .env directly and used NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your_password, but this won't work,
Specific error message: ValueError: Could not connect to Neo4j database. Please ensure that the url is correct,
ServiceUnavailable: Cannot to connect to Bolt service on ResolvedIPv6Address(('::1', 7474, 0, 0)) (looks like HTTP),
What should I do
image-1

@BishenCheng
Copy link
Author

BishenCheng commented Oct 6, 2024

I also tried NEO4J_USERNAME=neo4j NEO4J_PASSWORD=neo4j

@BishenCheng
Copy link
Author

And NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your_password,can work in my Browser

@RajSharma1902
Copy link

how did you solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants