How to map host port to container port which is not by default in elasticsearch container in docker compose
I am using official elastic search docker container image in docker compose in linux (ubunut 24.04 lts) . I am working with different project with having elastic search container image in each project so i can’t use the default host port. Like a default port binding host to container is 9200:9200
and I want to map this like 10200:9200
. But this is not working.
I am try to connecting through js client of elastic search but it give
error called connection refused
How to map host port to container port which is not by default in elasticsearch container in docker compose
I am using official elastic search docker container image in docker compose in linux (ubunut 24.04 lts) . I am working with different project with having elastic search container image in each project so i can’t use the default host port. Like a default port binding host to container is 9200:9200
and I want to map this like 10200:9200
. But this is not working.
I am try to connecting through js client of elastic search but it give
error called connection refused
How to map host port to container port which is not by default in elasticsearch container in docker compose
I am using official elastic search docker container image in docker compose in linux (ubunut 24.04 lts) . I am working with different project with having elastic search container image in each project so i can’t use the default host port. Like a default port binding host to container is 9200:9200
and I want to map this like 10200:9200
. But this is not working.
I am try to connecting through js client of elastic search but it give
error called connection refused
How to map host port to container port which is not by default in elasticsearch container in docker compose
I am using official elastic search docker container image in docker compose in linux (ubunut 24.04 lts) . I am working with different project with having elastic search container image in each project so i can’t use the default host port. Like a default port binding host to container is 9200:9200
and I want to map this like 10200:9200
. But this is not working.
I am try to connecting through js client of elastic search but it give
error called connection refused
How to map host port to container port which is not by default in elasticsearch container in docker compose
I am using official elastic search docker container image in docker compose in linux (ubunut 24.04 lts) . I am working with different project with having elastic search container image in each project so i can’t use the default host port. Like a default port binding host to container is 9200:9200
and I want to map this like 10200:9200
. But this is not working.
I am try to connecting through js client of elastic search but it give
error called connection refused