port connection number?! - Mailing list pgsql-novice

From SG Edwards
Subject port connection number?!
Date
Msg-id 1112795299.4253e8a3b665f@sms.ed.ac.uk
Whole thread Raw
Responses Re: port connection number?!  (Eduardo Vázquez Rodríguez<evazquez@insys-corp.com.mx>)
Re: [despammed] port connection number?!  (Andreas Kretschmer <akretschmer@despammed.com>)
List 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

pgsql-novice by date:

Previous
From: John DeSoi
Date:
Subject: Re: storing passwords
Next
From: "Walker, Jed S"
Date:
Subject: Re: plpgsql - can't get a simple block to execute