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.
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)
cypher-shell -a $NEO4J_URI