admin管理员组文章数量:1618733
今天docker创建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.
我之前的代码是
//启动neo4j
docker run --name neo4j7687 -d -p 7687:7474 -v D:/docker/neo4j/data:/data -v D:/docker/neo4j/conf:/conf -v D:/docker/neo4j/logs:/logs neo4j:latest
一直报错。。
后来改成
//启动neo4j
docker run --name neo4j7687 -d -p 7474:7474 -p 7687:7687 -v D:/docker/neo4j/data:/data -v D:/docker/neo4j/conf:/conf -v D:/docker/neo4j/logs:/logs neo4j:latest
然后访问 http://localhost:7474/browser/,就正常了
版权声明:本文标题:关于docker启动neo4j报错原因:ServiceUnavailable: WebSocket connection failure. 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728785863a1173316.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论