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.

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