Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-31-2020 09:59 AM
Hi everybody.
Today complete 3 months since I first try to connect my Neo4j Desktop instance to a local NestJS project, and it still fails. And I don't know why.
What I did:
So, today I made another attempt to connect to Neo4j Desktop - failure again. This is what I did few minutes ago.
First I try to connect to a fresh DB instance in Neo4j Desktop:
It fails! However, the instance is OK. These are the current settings:
Then I created a fresh Sandbox instance in the Sandbox and change my settings to connect to it:
The connection is established and the app runs just fine.
All I can tell is that I am very confused, lost, mad, frustrated. I cannot explain why only Desktop has this behavior. For now, I have no expectations to use Desktop despite I consider it a great tool for developers, it doesn't work for me (if I want to connect the local database to my app).
Regards.
11-01-2020 05:55 PM
It may be a silly suggestion, but I've had trouble sometimes because of my anti-virus and firewall software, but I couldn't connect to a server instance, but could to Desktop. Have you tried turning them off?
11-10-2020 09:41 AM
Today I'm resuming this issue and you gave me a great idea. I'll turn off Kaspersky and see what happens.
11-02-2020 02:02 AM
Hi @renatospaka,
Port 7474
is only used for hosting HTTP for either loading the Neo4j Browser app, or sending REST. The Neo4j drivers use the "Bolt" port, which by default is 7687
.
Try the using port 7687
in your .env
to see if that helps.
Best,
ABK
11-10-2020 09:47 AM
Hi @abk
That day I tried both ports with similar results: none got connected. But reported only one of them - sorry.
Someone sent me a clue about an issue involving access to Neo4j Desktop vs WSL2 via the localhost. I will investigate this.
Thanks
11-10-2020 04:21 PM
Naive question: Can you connect to Neo4J URL (with a port number) using a regular browser? If that doesn't work, then I presume the issue has nothing to do with JavaScript.
11-10-2020 04:42 PM
Yes, @clem, I can connect my local Neo4j database to Neo4j Browser in Chrome or Edge smoothly, nice and easy. The next thing I will investigate is to turn Kaspersky AV off and try to connect to the local database.
Javascript issue was eliminated as soon as I managed to connect to a sandbox instance.
All the sessions of the conference are now available online