From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jonathan Sand <sand(at)gizmolab(dot)com> |
Cc: | "postgres jdbc" <pgsql-interfaces(at)postgreSQL(dot)org> |
Subject: | Re: [INTERFACES] can't connect via jdbc |
Date: | 1999-01-16 22:32:02 |
Message-ID: | 26426.916525922@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Jonathan Sand <sand(at)gizmolab(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tony Maher | 1999-01-16 22:47:15 | |
Previous Message | Jonathan Sand | 1999-01-16 21:43:24 | can't connect via jdbc |