Forums

Cold not connect to PSQL server: Connection refused

Hi

My websites no longer seem to be able to connect to my Postgres database.

The error I get in the psql command line is the following:

"psql: error: could no connect to the server: could not connect to the server: Connection refused Is the server running on host "10.0.0.22" and accepting TCP/IIP connections on port 10091? Console closed"

I haven't changed anything to my code or database so I am not sure why I am now getting the error. It recently hit it's quota, which I have increased earlier today. Do I need to wait a while for the increase in quota to register in the system?

Thanks for your help.

Postgres can sometimes crash when it runs out of disk space; I've restarted your server just now, so you should be able to connect to it again.