Re: could not connect to server: Connection refused (0x0000274D/10061)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Anuj Pankaj <anujp(at)cybage(dot)com>
Cc: "Igor Neyman" <ineyman(at)perceptron(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: could not connect to server: Connection refused (0x0000274D/10061)
Date: 2010-10-01 13:13:57
Message-ID: 25917.1285938837@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Anuj Pankaj <anujp(at)cybage(dot)com> writes:
> What am I suppose to change in pg_hba.conf file?

If you're getting "Connection refused", no amount of changing
pg_hba.conf will change the result, because that's not where your
problem is. This error implies the postmaster isn't listening at all on
the specified port, or else there's a firewall blocking connections.
Make sure that listen_addresses is set to * in postgresql.conf, and
check your system packet-filtering configuration.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Little, Douglas 2010-10-01 13:45:00 how to PG close session
Previous Message Michal Glowacki 2010-10-01 11:07:35 Re: Hot standby server does not start