neo4j报错 解决 ServiceUnavailable: WebSocket connection failure. Due to security constraints....
2018-03-14 22:44
585 查看
使用
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、修改
3、检查neo4j版本。
下载neo4j community 3.3.3
https://go.neo4j.com/download-thanks.html?edition=community&release=3.3.3&flavour=unix&_ga=2.73957973.694484353.1520995468-1452291891.1520995468
解压文件
修改配置文件
检查配置文件
打开neo4j服务
登陆网址 http://localhost:7474/
初始密码为
Reference:
https://neo4j.com/download/other-releases/#releases
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
https://go.neo4j.com/download-thanks.html?edition=community&release=3.3.3&flavour=unix&_ga=2.73957973.694484353.1520995468-1452291891.1520995468
解压文件
tar -zxvf neo4j-community-3.3.3-unix.tar.gz
修改配置文件
cd neo4j-community-3.3.3; vim conf/neo4j.conf;
检查配置文件
dbms.connectors.default_listen_address=0.0.0.0#远程访问 dbms.connector.bolt.enabled=true#bolt服务,默认端口7687 dbms.connector.http.enabled=true#http服务,默认端口7474 dbms.connector.https.enabled=true#https服务,默认端口7473
打开neo4j服务
cd bin; ./neo4j start
登陆网址 http://localhost:7474/
初始密码为
neo4j,登陆成功后会提示修改密码
Reference:
https://neo4j.com/download/other-releases/#releases
相关文章推荐
- Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 解决
- Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 解决
- Cause: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying...的解决
- Cause: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying...的解决
- 解决“连接数据库是老是报Communications link failure due to underlying exception”
- JDBC学习之道:JDBC中的Communications link failure due to underlying exception错误的解决办法
- Java_解决java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
- 解决 Communications link failure due to underlying exception
- dbus/qt检测U盘:Failed to connect to socket。。。 system_bus_socket: Connection refused解决
- 解决 java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer) 异常
- 解决MySQL连接超时Communications link failure due to underlying exception
- com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:的解决
- 解决Android Studio更新错误 Solution to connection failure of updating in Android Studio
- 解决MySQL连接超时Communications link failure due to underlying exception
- 解决MySQL连接超时Communications link failure due to underlying exception
- 解决MySQL连接超时Communications link failure due to underlying exception
- 解决办法:tar: Exiting with failure status due to previous
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection
- 解决:java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer)
- WebSocket connection to 'ws://localhost/Test/socket' failed: Error in connection establishment: net: