Cannot contact elasticsearch at localhost:9200 from apache docker container

(ben hamida mohamed amine) #1

I have installed logstash and elasticsearch as services on manjaro linux , i'am using logstash to get data from a mairadb container and it works just fine , elasticsearch seems to work perfectly as well , but when i try to contact elasticsearch from my app on the apache container i get this message :

Elasticsearch request failed: 7 - Failed to connect to port 9200: Connection refused

any help would be much appreciated

(David Pilato) #2

What are elasticsearch logs? Do you expose the 9200 port?

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.