I ran into some issues when I tried to start a local connector runtime based on Springboot as container against a local Camunda Platform (based on the docker-compose.yaml by Camunda). I was not able to connect to Operate. The connection to localhost:8081 is refused when I start my springboot container with the application in it. I use the following settings in my application:
I understand that you are are having a connector runtime in container and docker based camunda platform with components as containers
Inside docker container we cannot access localhost as it is having a virtual network
Please try giving to container name and rebuild the image and run the container for connector runtime so that it will communicate directly to container inside the camunda-platform network
For that you need to add the camunda platform network for the container
In springboot app i.e using springboot-starter-camunda-connectors we can be be able to communicate to localhost because it’s out of docker virtual network
Thanks for your reply. I tried that already but I confused the ports… With http://operate:8080 it works as designed, I must have passed 8081 in there somewhere on the way. You know the forest and tree analogy I guess this applies here as well.