Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-22-2021 03:29 AM
I have a problem when connect to Neo4j server from a web server
Connection with the server breaks due to IOException: Failed to connect to server 'bolt://10.4.4.185:7687/' via IP addresses'[10.4.4.185]' at port '7687'. Please ensure that your database is listening on the correct host and port and that you have compatible encryption settings both on Neo4j server and driver. Note that the default encryption setting has changed in Neo4j 4.0
However, when I test with a console, it can connect and run the query properly. What is the problem here?
Neo4j 4.2.5
Neo4j.Driver 4.2.37.0
This is my code for initial driver
GraphDatabase.Driver("bolt://10.4.4.185:7687", AuthTokens.Basic("username", "password")
, configNeo4j => configNeo4j.WithEncryptionLevel(EncryptionLevel.None))
Thanks for your help,
Harvey Nguyen
05-24-2021 06:43 PM
Hi @harvey.nguyen , would you like to know which .net version using for (.net framework or netcore)
I found out the similar issue that hope this helpful guide to trust certificate
Good luck.
05-24-2021 10:04 PM
I'm using .net framework and Neo4j.Driver 4.2.37.0. Your link doesn't works for me
Thanks very much
All the sessions of the conference are now available online