Can't access to ElasticSearch after plugin install



I can’t access to my elastic DB after installing a plugin on it:

      - image:
        command: bin/elasticsearch-plugin install analysis-icu
          - elasticsearch
          - false
          #- localhost
          - http.port: 9200
          - discovery.type: single-node

I get this error after trying to access to it i get this error :scream:

Errno::EADDRNOTAVAIL: Cannot assign requested address - Cannot assign requested address - connect(2) for "localhost" port 9200 (localhost:9200)

If i don’t install the plugin in can access to elasticsearch
Did someone had the same problem ?
Thanks by advance.


Are you using the Docker executor? Although it’s not an ideal fix, networking problems can often be resolved by switching to Machine instead. See here.

If that gets you up and running, I suggest you use that in the short term, but also persist getting it to work on Docker, since the latter is faster and more resource-efficient.


thanks @halfer for your response, i create a custom docker image with the plugin already installed on it , i guess that was the best i can do.


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