无法连接到我的 aws ec2 实例上的 neo4j 服务器 - 端口 7474 [英] Unable to connect to neo4j server on my aws ec2 instance - port 7474
问题描述
在我的 aws ec2 实例上安装 neo4j 后,以下似乎表明服务器已启动.
After installing neo4j on my aws ec2 instance, the following seems to indicate that the server is up.
# bin/neo4j console
Active database: graph.db
Directories in use:
home: /usr/local/share/neo4j-community-3.3.1
config: /usr/local/share/neo4j-community-3.3.1/conf
logs: /usr/local/share/neo4j-community-3.3.1/logs
plugins: /usr/local/share/neo4j-community-3.3.1/plugins
import: /usr/local/share/neo4j-community-3.3.1/import
data: /usr/local/share/neo4j-community-3.3.1/data
certificates: /usr/local/share/neo4j-community-3.3.1/certificates
run: /usr/local/share/neo4j-community-3.3.1/run
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended.
See the Neo4j manual.
2017-12-01 16:03:04.380+0000 INFO ======== Neo4j 3.3.1 ========
2017-12-01 16:03:04.447+0000 INFO Starting...
2017-12-01 16:03:05.986+0000 INFO Bolt enabled on 127.0.0.1:7687.
2017-12-01 16:03:11.206+0000 INFO Started.
2017-12-01 16:03:12.860+0000 INFO Remote interface available at
http://localhost:7474/
此时我无法连接.我已经开放了端口 7474 - 和 7687 - 我可以访问端口 80,加上 ssh 进入实例等.
At this point I am not able to connect. I have opened up ports 7474 - and 7687 - and I can access port 80, plus ssh into the instance, etc.
这是 neo4j 还是 aws 的问题?
Is this a neo4j or aws problem?
感谢任何帮助.
科林·戈德堡
推荐答案
将 dbms.connectors.default_listen_address 设置为 0.0.0.0,然后仅使用 Amazon 的 ec2 安全组打开位于 7473 上的 SSL 端口.非必要请不要使用 7474.
Set the dbms.connectors.default_listen_address to be 0.0.0.0, then only open the SSL port located on 7473 using Amazon's ec2 security groups. Don't use 7474 if you don't have to.
这篇关于无法连接到我的 aws ec2 实例上的 neo4j 服务器 - 端口 7474的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!