Are these 2 separate containers? if so localhost to connect to each other... will not work as 1 container's localhost is separate from the other container's localhost
Perhaps take a look at
in short, you will probably need to use host.docker.internal between the two containers
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.