Hi Team,
I am using docker for the camunda self hosted environment, and when spring boot runs from eclipse, it’s working fine. But when deployed in docker container, it fails as connection refused.
In my docker container i hhave two container one is zeebe and second one is my jar file (from springboot).
i research but i did not get any solution.
please help me here , Thanks in advance
Hi @Supriya - my first thought is that the issue is with Docker networking. What address are you using in your Spring application to connect to Zeebe? Is that address correctly exposed from the Zeebe image? Does the Spring container know how to route network traffic to the other container? If you connect to your Spring Docker container and try to connect to Zeebe from a command line (ping, or using zbctl, etc.), does it work?
Hi @Supriya ,
As mentioned in the tutorial shared by @nathan.loding
One possible solution is: you need let your containers communicate with each other by attaching them to the same network.
Currently the camunda platform will have a network created by default.
You can attach your spring container to the same network to communicate with zeebe
Hi @Supriya - I think @Praveen_Kumar_Reddy has a great suggestion. I feel confident that this isn’t related to Camunda, but is rather related to Docker networking and how containers communicate with each other across the host. It’s a complicated subject, but might be beyond the scope of these forums.
Did you read the tutorial I shared? Have you built a virtual network that includes your container? (There’s also lots of other tutorials and videos out there if you search “docker container networking”.)