Re: Fw: Re: connection refused - Mailing list pgsql-novice

From Bruce Hyatt
Subject Re: Fw: Re: connection refused
Date
Msg-id 997762.50775.qm@web34407.mail.mud.yahoo.com
Whole thread Raw
In response to Re: Fw: Re: connection refused  (Ognjen Blagojevic <ognjen@etf.bg.ac.yu>)
List pgsql-novice
--- On Tue, 12/23/08, Ognjen Blagojevic <ognjen@etf.bg.ac.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




pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Difference between dates
Next
From: Thomas Harold
Date:
Subject: What algorithm does the random() function use?