资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

Neo4j下执行cypher-shell时Connectionrefused问题该怎么解决

这期内容当中小编将会给大家带来有关Neo4j下执行cypher-shell时Connection refused问题该怎么解决,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。

创新互联公司专注于应县企业网站建设,成都响应式网站建设公司,成都商城网站开发。应县网站建设公司,为应县等地区提供建站服务。全流程按需规划网站,专业设计,全程项目跟踪,创新互联公司专业和态度为您提供的服务

问题现象

Neo4j下执行cypher-shell时Connection refused问题该怎么解决

运行 ./neo4j start 
Active database: graph.db
Directories in use:
  home:         /data/liujinjie/neo4j-community-online
  config:       /data/liujinjie/neo4j-community-online/conf
  logs:         /data/liujinjie/neo4j-community-online/logs
  plugins:      /data/liujinjie/neo4j-community-online/plugins
  import:       /data/liujinjie/neo4j-community-online/import
  data:         /data/liujinjie/neo4j-community-online/data
  certificates: /data/liujinjie/neo4j-community-online/certificates
  run:          /data/liujinjie/neo4j-community-online/run
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Started neo4j (pid 165607). It is available at http://0.0.0.0:9311/
There may be a short delay until the server is ready.
See /data/liujinjie/neo4j-community-online/logs/neo4j.log for current status.

此时neo4j 已经开启,然后运行命令行指令

./cypher-shell 
Connection refused

问题分析

(1)配置文件里的关于shell的配置打开了吗

    (2)为了更好的远程访问

解决办法一

Neo4j下执行cypher-shell时Connection refused问题该怎么解决

# Enable a remote shell server which Neo4j Shell clients can log in to.
dbms.shell.enabled=true
# The network interface IP the shell will listen on (use 0.0.0.0 for all interfaces).
dbms.shell.host=0.0.0.0
# The port the shell will listen on, default is 1337.
dbms.shell.port=1337

./cypher-shell -h 根据命令行指令操作即可,

在命令行执行cypher-shell 
./cypher-shell -a bolt://localhost:Port  -u user_name -p passwd

上述就是小编为大家分享的Neo4j下执行cypher-shell时Connection refused问题该怎么解决了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注创新互联行业资讯频道。


当前题目:Neo4j下执行cypher-shell时Connectionrefused问题该怎么解决
文章URL:http://cdkjz.cn/article/pecdej.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220