Re: [INTERFACES] can't connect via jdbc - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] can't connect via jdbc
Date
Msg-id 26426.916525922@sss.pgh.pa.us
Whole thread Raw
In response to can't connect via jdbc  (Jonathan Sand <sand@gizmolab.com>)
List pgsql-interfaces
Jonathan Sand <sand@gizmolab.com> writes:
> If some kind soul could help straighten me out... :)

> su postgres -c '/usr/bin/postmaster -d 9 -p 2002 -D/var/lib/pgsql >
> /var/lib/pgsql/log/pg_log 2>&1 &'

You forgot the -i switch ... so the postmaster is not listening for TCP
connections, only local Unix-socket connections.

Note to postgres crew: I think we ought to think about changing the
postmaster switches so that -i is default behavior, and you have to
supply some other switch if you want to *turn off* TCP access.  This
Question is far too Frequently Asked...

            regards, tom lane

pgsql-interfaces by date:

Previous
From: Jonathan Sand
Date:
Subject: can't connect via jdbc
Next
From: Tony Maher
Date:
Subject: ...