I want to connect to a data source within my network. When I use localhost:5432 I can connect to my postgres database.
But when I connect to the database via my ipv4 address, the connections fails.
This is the grafana.log, when the connection fails:
logger=tsdb.postgres t=2022-03-27T12:21:23.88+0200 lvl=eror msg="query error" err="dial tcp 192.168.178.94:5432: connect: connection refused"
logger=context t=2022-03-27T12:21:23.88+0200 lvl=info msg="Request Completed" method=POST path=/api/ds/query status=400 remote_addr=192.168.178.40 time_ms=192 size=239 referer=http://192.168.178.82:3000/datasources/edit/6R0Swnynk