使用brew install neo4j
安装neo4j。打开http://localhost:7474/ 后连接数据库,报错,如下所示,无法成功连接数据库。
ServiceUnavailable: WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver….
1、安装JAVA 1.8。报错时,系统默认使用的是JAVA9。
Java 8下载链接:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2、修改conf
文件配置。
# 取消这行配置的注释
dbms.connector.bolt.address=0.0.0.0:7687
3、检查neo4j版本。
- 下载neo4j community 3.3.3
ht