Thread: pg_hba.conf

pg_hba.conf

From
ElayaRaja S
Date:
Hi,I am using Redhat linux 9. i had configure in pg_hba.conf as
host    postgres  postgres   10.10.0.76   255.255.255.0   password

If i try to connect with postgresql admin i am getting excpetion as

An erro has occured:

Error connecting to the server: could not connect to server:
Connection refuesed(0x0000274D/10061)     Is the server running on host "10.10.0.76" and accepting     TCP/IP
connectionson port 5432?      

Please help me.

--
Warm Regards,

S.ElayaRaja
Mobile:  (+91) 98450 59540
E-Mail:  elayaraja.s@gmail.com            raja_nk@hotmail.com


Re: pg_hba.conf

From
"Dave Held"
Date:
> -----Original Message-----
> From: ElayaRaja S [mailto:elayaraja.s@gmail.com]
> Sent: Monday, April 18, 2005 1:38 PM
> To: pgsql-hackers@postgresql.org
> Subject: [HACKERS] pg_hba.conf
>
>
> Hi,
>  I am using Redhat linux 9. i had configure in pg_hba.conf as
> host    postgres  postgres   10.10.0.76   255.255.255.0   password
>
> If i try to connect with postgresql admin i am getting excpetion as
>
> An erro has occured:
>
> Error connecting to the server: could not connect to server:
> Connection refuesed(0x0000274D/10061)
>       Is the server running on host "10.10.0.76" and accepting
>       TCP/IP connections on port 5432?
>
>
> Please help me.

The first bit of advice I can offer is to ask on the right list.  A
perusal of:

http://www.postgresql.org/community/lists/

should indicate that the pgsql-admin list would be a good list to
ask.  If you're not sure what list would be best, it seems that
psql-general would be a better default choice than -hackers.
Second, the error message is quite informative.  It says that the
client doesn't think you have a server listening on the default port.
Check your process list to make sure that you do.  Check to make
sure that you can connect to that host (try connecting to a different
service on the same server).  Check to make sure you are not getting
blocked by a firewall.

__
David B. Held
Software Engineer/Array Services Group
200 14th Ave. East,  Sartell, MN 56377
320.534.3637 320.253.7800 800.752.8129