How can a Docker container reach a service that’s only listening on localhost of the host machine?

host.docker.internal domain in Docker Desktop or