Cannot get Elasticsearch data into Neo4j instance

I'm working with Elasticsearch and Neo4j, I'm currently attempting to get the instances to simply talk to each other. I'm using the command:


to connect to the locally exposed Elasticsearch index. This is the error message I receive back:

Failed to invoke procedure ``: 
Caused by: java.lang.RuntimeException: 
Can't read url or key http://localhost:9205/_stats as json: 
Connection refused: connect

The ES index is accessible on local host without a password and returns a json response to curl and other queries. Has anyone else run into this issue?

Hi @MuddyBootsCode,
You sure that port 9205 is correct? Check available ports and his conf.

Does it work when you run curl -X GET "localhost:9200/_stats" ?

Thanks for getting back to me. Yep, I've tried it on both ports, the ES index inside a docker instance that's exposed on 9205, but I've attempted on 9200 as well. Thank you.

Ok. So the issue was, I was connected to a remote instance of Neo4j, instead of my local environment, because attention to detail was not happening that day.


No problem @MuddyBootsCode, best whishes in next step of your project.