如何从AWS Lightsail连接到neo4j端口?

时间:2017-10-06 19:29:43

标签: amazon-web-services neo4j amazon-lightsail

我正在尝试从AWS lightsail上的公共互联网访问neo4j端口。我已经配置了文件墙,但是无法完成。

enter image description here

我在像

这样的docker容器中运行neo4j



$ 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/




我无法从浏览器连接到它。 如http :: 7474?

1 个答案:

答案 0 :(得分:0)

您需要配置远程访问。

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

编辑您的conf文件: org.neo4j.server.webserver.address=0.0.0.0