"Connection refused", "could not translate host name" or timeouts when one container calls another. Almost always a network, hostname or port mix-up.
Are both containers on the same user-defined network? docker network inspect <net>
docker network connect <net> <container>, or put both services in the same Compose file / networkbridge network has no DNS by name; create a user-defined network127.0.0.1: set it to 0.0.0.0 (e.g. --host 0.0.0.0, server.address=0.0.0.0)host.docker.internal (add --add-host=host.docker.internal:host-gateway on Linux)