connection refused – :econnrefused PostgreSQL service status First parameter to cross-check during a psql connection refused error is the status of the PostgreSQL service. We can confirm this by cross-checking if a Postgres process in running in the server. In a Linux like environment, we can use If the service is not running in the…