Re: Urgent - Mailing list pgsql-general

From Tom Lane
Subject Re: Urgent
Date
Msg-id 25235.1113854439@sss.pgh.pa.us
Whole thread Raw
In response to Re: Urgent  ("Uwe C. Schroeder" <uwe@oss4u.com>)
List pgsql-general
"Uwe C. Schroeder" <uwe@oss4u.com> writes:
> have you enabled tcp in postgresql.conf ?
> the parameter in question is pretty much on top of the file and should read
> tcpip_socket = true

And if you have set that, look at the system's packet filtering rules
--- recent Red Hat releases tend to disallow traffic to port 5432 by
default.

"Connection refused" is a kernel-level refusal --- it means that the
postmaster never got your request at all, either because it wasn't
listening on that port or because something in-between blocked the
packet.  So there's no point in looking at your pg_hba configuration.

Some troubleshooting info is in these parts of the docs:

http://www.postgresql.org/docs/8.0/static/postmaster-start.html#CLIENT-CONNECTION-PROBLEMS
http://www.postgresql.org/docs/8.0/static/client-authentication-problems.html

            regards, tom lane

pgsql-general by date:

Previous
From: Tony Caduto
Date:
Subject: Re: Plpgsql function with unknown number of args
Next
From: "Uwe C. Schroeder"
Date:
Subject: Re: Pgsql config file