Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] can't connect via jdbc

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: (view raw, whole thread or download thread mbox)
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

pgsql-interfaces by date

Next:From: Tony MaherDate: 1999-01-16 22:47:15
Previous:From: Jonathan SandDate: 1999-01-16 21:43:24
Subject: can't connect via jdbc

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group