neo4j - 无法连接到 Neo4j 3.5.14 社区版服务器

标签 neo4j centos graph-databases

再会,

我一直试图在我的服务器上连接到 Neo4j 3.5.14 社区版,但我一直无法连接。

我昨天在我的 namecheap centos7 vps 上安装了新版本的 neo4j。

Neo4j 3.5.14
openjdk 版本“1.8.0_232”
OpenJDK 运行时环境(内部版本 1.8.0_232-b09)
OpenJDK 64 位服务器 VM(内部版本 25.232-b09,混合模式)

下面是我的配置文件:

#*****************************************************************
# Network connector configuration
#*****************************************************************

# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line:
#dbms.connectors.default_listen_address=0.0.0.0
dbms.connectors.default_listen_address=199.192.xxx.xxx

# You can also choose a specific network interface, and configure a non-default
# port for each connector, by setting their individual listen_address.

# The address at which this server can be reached by its clients. This may be the server's IP address or DNS name, or
# it may be the address of a reverse proxy which sits in front of the server. This setting may be overridden for
# individual connectors below.
#dbms.connectors.default_advertised_address=localhost
dbms.connectors.default_advertised_address=199.192.xxx.xxx

# You can also choose a specific advertised hostname or IP address, and
# configure an advertised port for each connector, by setting their
# individual advertised_address.

# Bolt connector
dbms.connector.bolt.enabled=true
#dbms.connector.bolt.tls_level=OPTIONAL
dbms.connector.bolt.listen_address=199.192.xxx.xxx:7687

# HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=199.192.xxx.xxx:7474

# HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=true
#dbms.connector.https.listen_address=:7473

以下是我的 netstat 结果:
tcp6       0      0 199.192.xxx.xxx:7687     :::*                    LISTEN      4205/java
tcp6       0      0 :::3306                 :::*                    LISTEN      5117/mysqld
tcp6       0      0 :::111                  :::*                    LISTEN      1/systemd
tcp6       0      0 :::80                   :::*                    LISTEN      2951/httpd
tcp6       0      0 199.192.xxx.xxx:7473     :::*                    LISTEN      4205/java
tcp6       0      0 199.192.xxx.xxx:7474     :::*                    LISTEN      4205/java

每次尝试访问:199.192.xxx.xxx:7473,

我得到 无法访问此站点

谢谢你的帮助。

最佳答案

好像您正在尝试通过 HTTPS 访问它,但是 dbms.connector.https.listen_address=:7473 在配置文件中被注释掉了

关于neo4j - 无法连接到 Neo4j 3.5.14 社区版服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59622742/

相关文章:

java - Neo4j 连接字符串

linux - 如何在 Linux 中运行 Visual Studio 代码

dns - CentOS中使用/etc/resolv.conf解析AD域

postgresql - Agens Graph(图数据库)可以存储什么类型的数据?

mongodb - 社交应用程序的多对多关系 : Mongodb or graph databases like Neo4j

scala - 来自 Java 的 Neo4j 嵌入式在线备份

neo4j - 用于记录正在进行的事务的数据库模型

node.js - 为什么我的 Cypher 查询不起作用?

javascript - 整理父子关系数组,其中两个 child 从一个数组中共享一个父项并使用 div 显示它

python-3.x - 最新的 centos docker 图像在 yum 存储库中没有 python3