Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the Connection refused problem when executing cypher-shell under Neo4j

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to solve the Connection refused problem when implementing cypher-shell under Neo4j. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Problem phenomenon

Run. / neo4j start Active database: graph.dbDirectories 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/runStarting 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.

Now that neo4j is on, run the command line instruction

. / cypher-shell Connection refused

Analysis of problems

(1) has the configuration of shell in the configuration file been turned on?

(2) for better remote access

Solution one

# 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 can operate according to command line instructions

Execute cypher-shell. / cypher-shell-a bolt://localhost:Port-u user_name-p passwd on the command line. This is how to solve the Connection refused problem when executing Connection refused under the Neo4j shared by the editor. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report