Getting an error in connection refused - Mailing list pgsql-admin

From Shilpa Tisgaonkar
Subject Getting an error in connection refused
Date
Msg-id 58BCC3F1715C0A41AB3D9BD8CDA33FE619BB61@opnsrvr.opensystemsinc.com
Whole thread Raw
Responses Re: Getting an error in connection refused  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hi,



I'm trying to connect to databasewhich has been already created. But
when I use following command



psql -Utest1  -hlocalhost -p5432 -W testone



I'm getting  the following error



psql: could not connect to server: Connection refused

        Is the server running on host "localhost" and accepting

        TCP/IP connections on port 5432?



Can anybody please tell me how to solve this problem





Thanks and Regards





Shilpa




pgsql-admin by date:

Previous
From: "Salem Berhanu"
Date:
Subject: postgres & server encodings
Next
From: "CARLADATA, mailing list"
Date:
Subject: Compiling PostgreSQL 8.0.3 under SCO OpenServer6