Re: problem with Connection refused - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: problem with Connection refused
Date
Msg-id 1029922233.19784.894.camel@linda
Whole thread Raw
In response to problem with Connection refused  (rdkurth@starband.net)
List pgsql-novice
On Wed, 2002-08-21 at 05:02, rdkurth@starband.net wrote:
> Hello pgsql-novice,
>
> I keep getting this when I try to access the PostgreSQL database. The
> funny thing is this used to work. I am using a cobalt Linux server.
> And Postgresql is used for the GUI on that server . The GUI works I
> just can't access this other Database.
> How can I start the server with the -i . PostgreSQL is started at boot
> up with the script down below how can I change that to use the -i
> switch or do I even halve to
>
> PHP Warning:  pg_pconnect() unable to connect to PostgreSQL server: PQconnec
> tPoll() -- connect() failed: Connection refused
>         Is the postmaster running (with -i) at '127.0.0.1'
>         and accepting connections on TCP/IP port '5901'?

It's trying to connect to a non-standard port (5901) and I didn't see
anything in your start-up script to indicate that postmaster would be
listening on that port.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "For the Lord himself shall descend from heaven with a
      shout, with the voice of the archangel, and with the
      trump of God; and the dead in Christ shall rise first;
      Then we which are alive and remain shall be caught
      up together with them in the clouds, to meet the Lord
      in the air; and so shall we ever be with the Lord."
                          I Thessalonians 4:16,17


pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Installing PostgreSQL
Next
From: "Hugh Scully"
Date:
Subject: configure options