Getting an error in connection refused

From: "Shilpa Tisgaonkar" <shilpa(dot)tisgaonkar(at)opensystemsinc(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Cc: <shilpatisgaonkar(at)yahoo(dot)com>
Subject: Getting an error in connection refused
Date: 2005-08-11 17:19:43
Message-ID: 58BCC3F1715C0A41AB3D9BD8CDA33FE619BB61@opnsrvr.opensystemsinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message D Kavan 2005-08-11 19:29:22 pg_restore
Previous Message Alvaro Herrera 2005-08-11 17:00:04 Re: Problem in restore data