gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 19:36:19 30 4
gpt4 key购买 nike

再会,

我一直试图在我的服务器上连接到 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/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com