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.

Remote connection to a AWS ECS EC2 Neo4j docker installation

Hi,

I have installed a docker Neo4j server in a AWS ECS EC2 linux instance with the following guide

https://www.inoutcode.com/aws/how-to-setup-neo4j-on-aws-ecs-ec2/

(The only difference is that my instance is a public instance and not private).

If I try the Neo4j connection with the localhost server it is ok,

but if I try a connection with the server IP it doesn't work:

from inside the docker container

cypher-shell -a bolt://localhost:7687 -u neo4j -p ******* ---> OK

cypher-shell -a neo4j://<ec2_private_ip>:7687 -u neo4j -p ******* --> KO connection refused

cypher-shell -a neo4j://<ec2_public_ip>:7687 -u neo4j -p ******* --> KO connection refused

I try a remote connection from my Neo4j Desktop application the connection is refused

In the Ne04j configuration file i have

server.default_listen_address=0.0.0.0

Any suggestions is appreciate, thank you,

Alessandro

0 REPLIES 0