From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jonathan Sand <sand@gizmolab.com>
Cc: postgres jdbc <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] can't connect via jdbc
Date: Sat, 16 Jan 1999 17:32:02 -0500
Message-ID: <26426.916525922@sss.pgh.pa.us> (raw)
In-Reply-To: <199901162143.NAA28321@scruz.net>
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
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, sand@gizmolab.com
Subject: Re: [INTERFACES] can't connect via jdbc
In-Reply-To: <26426.916525922@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