Tip connect to the database: Could not connect to server: Connection refused.
If this occurs, there are about several possible reasons:
1. Server service is not running. So just start it.
2. The server is not configured to accept the address displayed on the TCP / IP requests.
3. firewall barrier.
4. Port error.
1. Start the database
pg_ctl start |
2. Check listen_addresses parameter settings.
Open postgresql.conf file search listen_addresses in the database file directory parameter value to its '*' after the restart the database.
3. Check the firewall configuration, turn off the firewall or open ports database.
More Solutions please visit the platform to support high-tech [Han] View https://support.highgo.com/#/index/docContent/ce3738ac04a172fb
systemctl stop firewalld |