Validation error ``ML Backend health check failed''

Question:

My ml backend is up and running but still I am not able to connect it with my label studio.
Both ml backend and label studio running on docker.
image

Answer:

Try using the following url: http://host.docker.internal:9090

host.docker.internal is used to access the host from within a docker container. This is necessary because your machine learning backend and Label Studio are running in their own separate docker containers. By using http://host.docker.internal:9090 , you’re telling Label Studio to look for the ML backend on the same machine but outside of its own container.