I'm running enterprise search 7.9.3 with docker on a server. When I try to run it on the localhost everything appears to be looking fine but I can't acess the interface. And when I change the ent-search.listen_host to my servers IP I get the following error after the "Success! Elastic Enterprise Search is starting successfully.":
java.io.IOException: Failed to bind to /10.3.50.6:3002
Caused by: java.net.BindException: Cannot assign requested address
this is my configuration in my enterprise-search.yml
Did you open the ports? Or are you sharing the same network between containers?
How do you start your containers?
Do you consider using docker compose instead?
yes the ports are open. I also don't have any trouble to connect to elasticsearch.
I simply start my enterprise search container with sudo docker run -p 3002:3002 docker.elastic.co/enterprise-search/enterprise-search:7.9.3 . How would docker compose solve the problem in this case?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.