Hi Neo4j Users,
I’m terribly sorry for posting the same issue on both github: docker-neo4j issue tracker <https://github.com/neo4j/docker-neo4j/issues/31#issuecomment-203932826> and here. We’ve stuck for days and, a bit worried the issue on github repo doesn’t get much publicity. If it’s inappropriate, I shall pull this post down. The original post goes: ------------------------------ Hi, I was trying to start the official docker image, with provided conf dir via volume, like the following: docker run --rm --publish=7474:7474 --volume=${DB_DIR}:/data/graph.db --volume=${CONF_DIR}:/conf neo4j and from the printed log, everything seems to be working: Starting Neo4j Server console-mode... 2016-03-30 11:49:03.208+0000 INFO No SSL certificate found, generating a self-signed certificate.. 2016-03-30 11:49:09.060+0000 INFO Successfully started database 2016-03-30 11:49:09.118+0000 INFO Starting HTTP on port 7474 (8 threads available) 2016-03-30 11:49:09.470+0000 INFO Enabling HTTPS on port 7473 2016-03-30 11:49:09.613+0000 INFO Mounting static content at /webadmin 2016-03-30 11:49:09.702+0000 INFO Mounting static content at /browser 2016-03-30 11:49:11.400+0000 INFO Remote interface ready and available at http://localhost:7474/ however, the 7474 port can’t be reached, and curl results failure: $ curl 127.0.0.1:7474 curl: (56) Recv failure: Connection reset by peer I thought there should be something wrong with my configurations, hence I dumped a set of configurations from the docker image and retried, except getting the same failure above. Once I removed volume=${CONF_DIR}:/conf from my docker run command, the web interface runs smoothly. And the log is same to the case which fails. Inside the container, I can successfully reach the 7474 port via curl: root@040ce878d09c:/var/lib/neo4j# curl 127.0.0.1:7474 { "management" : "http://127.0.0.1:7474/db/manage/", "data" : "http://127.0.0.1:7474/db/data/" } also, this request is logged in data/http.log. However, I still get Connection reset by peer failure from the host machine, and data/http.log doesn’t document this request. Didn’t --publish=7474:7474 work? Also tried other ports but doesn’t help. Anyone happens to know where I did it wrong? Could really use your help. Thanks. ------------------------------ BR, Todd Leo -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
