If you work behind a firewall, you need to verify that the necessary ports (443,7474,7687) to work with Aura are opened for traffic:
- On Linux/macOS please use netcat (replacing <DBID> accordingly):
nc -v <DBID>.databases.neo4j.io <port>
- On Windows, you can get netcat here (https://nmap.org/download.html )
or simply use PowerShell (replacing <DBID> accordingly)Test-NetConnection <DBID>.databases.neo4j.io -Port <port>
These commands should return a message that the connection to <DBID>.databases.neo4j.io succeeded.
Verify access with Cypher-shell:
You can also try to access an AuraDB Instance directly using cypher-shell to validate that the bolt protocol is accessible.
- Download cypher-shell here https://neo4j.com/download-center/#cyphershell
- Connect to the AuraDB Instance from the command line
cypher-shell -a ADDRESS -u USERNAME -p PASSWORD --debug
With environment variables (here we assume you use the neo4j user; replace accordingly)
export NEO4J_USERNAME="neo4j"
export NEO4J_PASSWORD='my-very-long-password'
export NEO4J_URI='neo4j+s://<DBID>.databases.neo4j.io'
cypher-shell -a $NEO4J_URI
Comments
0 comments
Article is closed for comments.