Ask Your Question
0

Connection refused while connecting to elastic search

asked 2019-11-20 01:00:13 -0600

anonymous user

Anonymous

updated 2019-11-20 19:05:06 -0600

metadaddy gravatar image

I am running docker containers everything is working fine, but when exporting data from consumer to Elasticsearch:

ELASTICSEARCH_09 - Could not connect to the cluster HTTP endpoint: java.net.ConnectException: Connection refused

Please help me fix this

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-11-20 19:20:58 -0600

metadaddy gravatar image

This error indicates that Elasticsearch is not reachable from Data Collector. Check the configuration of Cluster HTTP URIs.

If Elasticsearch is running in a Docker container, you'll need to ensure that you have configured networking for the two containers - typically you will need to run them in the same Docker network.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-11-20 01:00:13 -0600

Seen: 75 times

Last updated: Nov 20