Airflow docker container and tomcat running outside the docker

Hi,

I have airflow container running on docker inside ubuntu machine . It’s webserver listens to port 8090 and tomcat installed on the vm (it is running without docker) and it listens on port 8080. Can they coexists? I am always see the container uynhealthy . How can I achieve it?

Regards
Rajaniesh