Re: Fw: Re: connection refused

From: Bruce Hyatt <brucejhyatt(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Fw: Re: connection refused
Date: 2008-12-25 20:00:24
Message-ID: 997762.50775.qm@web34407.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

--- On Tue, 12/23/08, Ognjen Blagojevic <ognjen(at)etf(dot)bg(dot)ac(dot)yu> wrote:

> > I tried "iptables -A RH-Firewall-1-INPUT -p tcp
> --dport postgres" and "iptables -I
> RH-Firewall-1-INPUT 7 -p tcp --dport postgres" and
> neither worked. It looks like the problem is it didn't
> have "ACCEPT" in front of the rule:
> >
> > ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0
> udp dpt:631 tcp -- 0.0.0.0/0
> 0.0.0.0/0 tcp dpt:5432 ACCEPT all --
> 0.0.0.0/0 0.0.0.0/0 state
> RELATED,ESTABLISHED
> >
> > Bruce
>
> I think you need to add "-j ACCEPT" to the
> command.

Thanks Ognejn. That did it.

Bruce

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Thomas Harold 2008-12-30 12:25:50 What algorithm does the random() function use?
Previous Message Tom Lane 2008-12-24 16:11:14 Re: Difference between dates