Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group