【发布时间】:2017-11-12 05:43:16
【问题描述】:
我已经设置了一个 docker neo4j 镜像:
2017-11-02 03:29:49.000+0000 INFO ======== Neo4j 3.2.5 ========
2017-11-02 03:29:49.037+0000 INFO Starting...
2017-11-02 03:29:50.527+0000 INFO Bolt enabled on 0.0.0.0:7687.
2017-11-02 03:29:54.338+0000 INFO Started.
2017-11-02 03:29:55.744+0000 INFO Remote interface available at http://localhost:7474/
端口映射为:
7473/tcp localhost:32770
7474/tcp localhost:32769
7687/tcp localhost:32768
我可以通过http://localhost:32769/browser/连接浏览器
现在我想通过cycli访问它,但是失败了:
Jimmys-MBP:scripts jimmy$ cycli -u neo4j -p xxxxx -h localhost -P 32769
______ __ __ ______ __ __
/\ ___\ /\ \_\ \ /\ ___\ /\ \ /\ \
\ \ \____ \ \____ \ \ \ \____ \ \ \____ \ \ \
\ \_____\ \/\_____\ \ \_____\ \ \_____\ \ \_\
\/_____/ \/_____/ \/_____/ \/_____/ \/_/
Cycli version: 0.7.6
Neo4j version: 3.2.5
Bug reports: https://github.com/nicolewhite/cycli/issues
> match(n) return n;
Unable to connect to localhost on port 7687 - is the server running?
为什么还在寻找 docker 端口 7687?
【问题讨论】:
-
你是如何运行你的 docker 镜像的? IE。暴露了哪些端口? Cycli afaik 使用螺栓端口,而不是 http 端口。
-
我使用kitematic来运行官方的neo4j镜像。你能给我一个你的连接命令的例子吗?谢谢。
标签: docker neo4j graphenedb