启用远程访问 neo4j 4.2 社区版

Enable remote access neo4j 4.2 community edition

由于在家工作,我需要一种方法来监控远程 neo4j 实例 - 最好是通过网络浏览器实例。

以前(比如3.0)可以通过modifying a single config line轻松实现。

不幸的是,在 4.2 版中情况不再如此 - 该行不再存在并尝试 coax the new connectors configs 以相同的方式工作,也就是更改:

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

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

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

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

没有成功 - :7474 和 :7473 仍然无法访问。

尝试取消注释以下配置:

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