neo4j / neo4j-dotnet-driver

Neo4j Bolt driver for .NET
Apache License 2.0
222 stars 69 forks source link

Don't try to use localhost for IP6 connections #794

Closed RichardIrons-neo4j closed 3 months ago

RichardIrons-neo4j commented 3 months ago

[::1] was hardcoded as the IP6 address to try to connect to, which will fail if as the DBMS isn't running on the same host. This was changed to use Neo4jDefaultInstallation.BoltUri instead. In addition the test is skipped if Neo4jDefaultInstallation.BoltHost cannot be resolved to an IPv6 address.