Connection refused for airtime with LT


During the install i have a little problem of connection refused for airtime with LT
In fact i have this message :
Couldn’t establish a connection to the database! Please check your credentials and try again. PDO Exception: SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host “flux.sweet-stations.com” (192.168.1.18) and accepting TCP/IP connections on port 5432?

In local no problem for install with localhost but with a domain name…
I change the config of postgresql for allow the domain name and the port but nothing change… the same error. My config is ubuntu 18.4/Debian and Virtualmin / Webmin etc.
Can you help me ?
Benjamin

You are trying to connect to postgres by flux.sweet-stations.com, therefor the system will try to connect from outside… try setting host to localhost.

Yes, xabispacebiker it’s better, thanks i change the host with localhost with the domain name and that’s work in local and online !!! Wouhou i’m very happy :smiley: