Hey guys…
I am new to Balena and trying to deploy a multi-container application using BalenaCloud. I have set up the docker-compose.yml
file and pushed the code using the Balena CLI. The containers build and appear to start successfully, but I’m running into an issue where one of the containers fails with a “connection refused” error when trying to communicate with another container.
Here is what I have done so far:
- Defined the services in
docker-compose.yml
and ensured they are in the same network. - Verified that the services are using the correct environment variables for communication.
- Checked the logs in the Balena dashboard, which confirm the error happens during an HTTP request from one service to another.
I check this: https://forums.balena.io/t/multi-container-multi-device-with-a-single-codsalesforceadmintraining But I have not found any solution. I am wondering if there’s something specific to Balena I might be missing, such as networking or configuration nuances?
Any tips or guidance would be greatly appreciated. Let me know if you need me to share more details about my setup.
Thanks in advance!
Respected community member!