Re: Fw: Re: connection refused

Поиск
Список
Период
Сортировка
От Bruce Hyatt
Тема Re: Fw: Re: connection refused
Дата
Msg-id 997762.50775.qm@web34407.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Fw: Re: connection refused  (Ognjen Blagojevic <ognjen@etf.bg.ac.yu>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Difference between dates
Следующее
От: Thomas Harold
Дата:
Сообщение: What algorithm does the random() function use?