Setting up Docker container health check

CMK version: 2.4.0p27 (PRO)
OS version: Ubuntu 24.04

Error message: Docker Container health: Health status: UnhealthyCRIT, Last health report: curl: (7) Failed to connect to 127.0.0.1 port 80

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

Hello, I try to add our Docker containers into our Monitoring System. It worked on some of the Containers, however I cannot figure out where to change the IP & Port of “MyContainer1” where it connects to. It listens to the same IP as the VM but to a different port.

Update: I noticed that the Container health check within the container fails itself. I think this is the issue which results in the check to fail.