Neo4j连接 (Connect to Neo4j) 报错

问题: Connect to Neo4j报错: 

ServiceUnavailable: WebSocket connection failure. Due to security constraints in your web
 browser, the reason for the failure is not available to this Neo4j Driver. Please use your
 browsers development console to determine the root cause of the failure. Common reasons 
include the database being unavailable, using the wrong connection URL or temporary network
 problems. If you have enabled encryption, ensure your browser is configured to trust the 
certificate Neo4j is configured to use. WebSocket `readyState` is: 3

打开浏览器后台提示报错信息:

WebSocket connection to 'ws://xxxx:7687/' failed: Establishing a tunnel via proxy server failed.

错误原因:

浏览器使用了代理服务器,因此导致请求失败

解决方案:

更改浏览器代理服务器设置,将请求加入白名单,不走代理服务器

更改路径:打开Internet属性面板,在”连接”页签中,点击“局域网设置”--->点击“高级”---->在"例外"的文本框中添加"bolt://*",保存即可。

你可能感兴趣的:(neo4j)