port connection number?!

From: SG Edwards <s0460205(at)sms(dot)ed(dot)ac(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: port connection number?!
Date: 2005-04-06 13:48:19
Message-ID: 1112795299.4253e8a3b665f@sms.ed.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Hey guys,

I am trying to connect to a Postgres database using a PHP script but get the
error:

"unable to connect to PostgreSQL server: could not connect to server: Connection
refused;
is the server running on host "localhost" and accepting TCP/IP connections on
port 5432?"

How can I find out which port the Postgres database is using? How can I fix
this?

Many thanks for your help,

Stephen

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Walker, Jed S 2005-04-06 14:13:37 Re: plpgsql - can't get a simple block to execute
Previous Message John DeSoi 2005-04-06 12:36:40 Re: storing passwords