Greetings, everyone. I encountered a problem on Banana Pi BPI-R4 on version 24.10.0, I use Docker and when I open the link from app and Data Base, for some reason the application cannot access the database and there is an error
The database settings are invalid: dial tcp 172.19.0.2:5432: connect: connection refused
The question is specifically about openwrt or docker, I personally don’t care. Tests on other OSes like Ubuntu have shown that my app+db connections work, I'm trying to figure out what the problem is
ok, then tell me what else should I add to make the picture come together? This problem occurs with everything I try to run on openwrt, if it concerns docker
According to all the signs that I diagnosed app+db on the same network, they have addresses of the same range, that is, they are on the same network. At the same time, any connection to the database or application, for some reason unknown to me, does not happen. At the same time, the same docker compose or dockerfile worked smoothly on Ubuntu and I don’t understand where the reason is that it is a container on the same network, but auto connection, like the gitea example, does not happen