SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "dbserver" (10.10.31.59) and accepting TCP/IP connections on port 5432?