cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Installed Neo4J on EC2 using AMI but Can't Connect to DB

I've created an EC2 instance using the AMI image and able to browse to my instance using: https://[PublicDnsName]:7473 but I can't connect to the server when prompted with $ :server connect where
"Connect URL" is neo4j://0.0.0.0:7687
"Authentication Type" is Username/Password
"Username" is neo4j
"Password" is neo4j

I get following error: SessionExpired: WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the ro...

What am I missing? Help much appreciated.

2 REPLIES 2

Hi Manyphay,

Have you checked your security groups in AWS, to make sure that port 7687 isn't being blocked? Also, 0.0.0.0 is not a valid IP address. It's used in network services to indicate that the service should listen on all IPs on a system, but it's not actually a routable address. Try replacing it with either the public or private hostname for the system. Let us know if that works for you.

Cory

2X_e_e7809dd05b41f19747a87ac52111802c713a9571.png
try changing this to
2X_1_108159832a2dd48e122ede6c31c12e1228973f2d.png