Не удается подключиться к серверу Neo4j 3.5.14 Community Edition - PullRequest
0 голосов
/ 07 января 2020

Добрый день,

Я пытался подключиться к Neo4j 3.5.14 Community Edition на моем сервере, но у меня не получилось.

Я установил бесплатную sh версию neo4j на моем имени: centos7 vps вчера.

neo4j 3.5.14 версия openjdk "1.8.0_232" Среда выполнения OpenJDK (сборка 1.8.0_232-b09) Виртуальная 64-разрядная серверная виртуальная машина OpenJDK (сборка 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,

Я получаю Этот сайт недоступен

Спасибо за вашу помощь.

1 Ответ

1 голос
/ 07 января 2020

Похоже, вы пытаетесь получить к нему доступ через HTTPS, но dbms.connector.https.listen_address =: 7473 закомментировано в файле конфигурации

...