another can't connect

From: BJ Freeman <bjfree(at)free-man(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: another can't connect
Date: 2009-06-29 02:19:33
Message-ID: 4871471.26661246241980856.JavaMail.root@free-man.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

PostgreSQL version 8.1.11 (With schemas)
I have read the recent emails and believe I have covered all the bases
from net stat
tcp 0 0 127.0.0.1:5432 0.0.0.0:*
LISTEN 5091/postmaster

I do a
psql -h 127.0.0.1 -U ofbiz -d ofbiz
from a terminal on the server.

and get this after a time
psql: could not connect to server: Connection timed out
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?

Note this was working till about Fri.
then only thing I have been doing is adding to my IPtables.

this is my Iptables
hain INPUT (policy ACCEPT)
target prot opt source destination
LOG all -- anywhere anywhere LOG level
debug prefix `BANDWIDTH_IN:'
DROP icmp -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp
dpt:5868 reject-with icmp-port-unreachable
ACCEPT tcp -- anywhere anywhere tcp dpt:ndmp
ACCEPT tcp -- localhost localhost tcp
dpt:postgres state NEW
RH-Firewall-1-INPUT all -- anywhere anywhere
REJECT all -- anywhere anywhere reject-with
icmp-port-unreachable

there is not filtering on output.

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2009-06-29 02:33:31 Re: another can't connect
Previous Message Arndt Lehmann 2009-06-29 01:28:05 Re: partitioning question -- how to guarantee uniqueness across partitions