It's my first time to use loki, when I configured the loki as datasource of Grafana,It signed:
Unable to connect with Loki. Please check the server logs for more details.
I just follow the official documentation to run Grafana and promail and loki containers, here is the situation of docker containers:

and I have tried to add "http://localhost:3100", "http://localhost:3101", "http://localhost:3102" as the loki url.But all of these failed with the same problem.
The correct url should be