Hi.
I'm trying to start a sandbox and connect to it using python. I tried copying the example code from the templates, but I get an error: "ServiceUnavailable: Timed out trying to establish connection to ('54.236.203.202', 34896)".
Example code:
from neo4j.v1 import GraphDatabase, basic_auth
driver = GraphDatabase.driver(
"bolt://54.236.203.202:34896",
auth=basic_auth("neo4j", "clap-dominions-inch"))
session = driver.session()
# Who are the legislators in legis-graph?
cypher_query = '''
MATCH (l:Legislator)
RETURN l.firstName + ' ' + l.lastName AS name
LIMIT $limit
'''
results = session.run(cypher_query,
parameters={"limit": 10})
for record in results:
print(record['name'])
Can anybody help me understand what's going on?