Head's Up! Site migration is underway. Phase 2: migrate recent content
β08-07-2022 09:59 AM
I am implementing the example in Neo4j .NET course and I got this exception here
public static async Task InitDriverAsync(string uri, string username, string password)
{
_driver = GraphDatabase.Driver(uri, AuthTokens.Basic(username, password));
await _driver.VerifyConnectivityAsync();
}
Neo4j.Driver.ServiceUnavailableException: 'Connection with the server breaks due to IOException: Failed to connect to server 'bolt://3.235.19.104:7687/' via IP addresses'[3.235.19.104]' 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.'
appsettings.json
"AllowedHosts": "*",
"Jwt": {
"secret": "SuperSecureSecret"
},
"Neo4j": {
"uri": "bolt://3.235.19.104:7687",
"username": "neo4j",
"password": "solution-bomb-crosses"
},
"Password": {
"rounds": "10"
}
β08-09-2022 06:24 AM
But your sandbox database is still running and you can access it e.g. via Neo4j browser?
β08-09-2022 07:19 AM
Yes
All the sessions of the conference are now available online