您好,登錄后才能下訂單哦!
這期內(nèi)容當(dāng)中小編將會(huì)給大家?guī)碛嘘P(guān)Neo4j下執(zhí)行cypher-shell時(shí)Connection refused問題該怎么解決,文章內(nèi)容豐富且以專業(yè)的角度為大家分析和敘述,閱讀完這篇文章希望大家可以有所收獲。
問題現(xiàn)象
運(yùn)行 ./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.
此時(shí)neo4j 已經(jīng)開啟,然后運(yùn)行命令行指令
./cypher-shell Connection refused
問題分析
?。?)配置文件里的關(guān)于shell的配置打開了嗎
(2)為了更好的遠(yuǎn)程訪問
解決辦法一
# 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 根據(jù)命令行指令操作即可,
在命令行執(zhí)行cypher-shell ./cypher-shell -a bolt://localhost:Port -u user_name -p passwd
上述就是小編為大家分享的Neo4j下執(zhí)行cypher-shell時(shí)Connection refused問題該怎么解決了,如果剛好有類似的疑惑,不妨參照上述分析進(jìn)行理解。如果想知道更多相關(guān)知識(shí),歡迎關(guān)注億速云行業(yè)資訊頻道。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。