0

I am trying to access the neo4j port from public internet on AWS lightsail. I have configured the filewall but sill not able to do it.

enter image description here

I am running neo4j in a docker container like

$ sudo docker run     --publish=7474:7474 --publish=7687:7687 --publish=7473:7473  --volume=$HOME/neo4j/data:/data  --volume=$HOME/neo
[1] 1542
$ Starting Neo4j.
2017-10-06 01:43:42.192+0000 INFO  ======== Neo4j 3.0.11 ========
2017-10-06 01:43:42.229+0000 INFO  No SSL certificate found, generating a self-signed certificate..
2017-10-06 01:43:42.793+0000 INFO  Starting...
2017-10-06 01:43:43.454+0000 INFO  Bolt enabled on 0.0.0.0:7687.
2017-10-06 01:43:46.135+0000 INFO  Started.
2017-10-06 01:43:47.098+0000 INFO  Remote interface available at http://0.0.0.0:7474/

I am not able to connect to it from the browser. as http::7474 ?

McGrady
  • 10,869
  • 13
  • 47
  • 69
Younus
  • 1
  • 1
  • Welcome on SO! This question my be better suited for one of the other Stack-sites. https://meta.stackexchange.com/questions/141942/best-stack-exchange-site-for-asking-about-amazon-aws – wp78de Oct 06 '17 at 21:53
  • I think this question belongs to [serverfault](https://serverfault.com/) – Taxellool Oct 06 '17 at 22:20
  • If you to an nmap -p 7474 from your client machine ... does it show the port as OPEN (FILTERED or CLOSED indicate a firewall) ? – Tom Geudens Oct 07 '17 at 16:58
  • @Younus you will need to map the host (Lightsail instance) port to the port of the running container. Think of it like a switch board. A call is coming into the machine instance but it does not know where to send the request to get processed. – David J Eddy Oct 31 '18 at 19:29

1 Answers1

0

You need to configure remote access.

https://neo4j.com/developer/kb/how-do-i-enable-remote-https-access-with-neo4j-30x/

Edit your conf file: org.neo4j.server.webserver.address=0.0.0.0

Scott Coates
  • 2,462
  • 5
  • 31
  • 40