pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: nickf@ontko.com
Cc: Rasmus Mohr <rmo@Netpointers.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: client connection problem
Date: Wed, 16 Jan 2002 10:51:56 -0500
Message-ID: <9403.1011196316@sss.pgh.pa.us> (raw)
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGEEEEEDAA.nickf@ontko.com>
References: <NEBBLAAHGLEEPCGOBHDGEEEEEDAA.nickf@ontko.com>

"Nick Fankhauser" <nickf@ontko.com> writes:
> Try adding a line to pg_hba.conf for localhost specifically- I'd guess that
> the request is coming in with that address rather than the local machine's
> IP address.

Another possibility is that the connection request is being dropped on
the floor by kernel packet filtering.  The default filtering in RH 7.2
is pretty aggressive (just the other day I had to change quite a few
things to get it to allow incoming and outgoing NFS, for example).
Check your ipchains setup in /etc/sysconfig/ipchains.

IIRC, the default ipchains setup does *not* filter localhost
connections, but I think it would apply to connections showing a source
address of your Ethernet IP.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <9403.1011196316@sss.pgh.pa.us>
Permalink:  ../9403.1011196316@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9403.1011196316@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nickf@ontko.com, rmo@Netpointers.com
  Subject: Re: client connection problem
  In-Reply-To: <9403.1011196316@sss.pgh.pa.us>
  References: <NEBBLAAHGLEEPCGOBHDGEEEEEDAA.nickf@ontko.com> <9403.1011196316@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox