Received: from noether.math.ksu.edu (noether.math.ksu.edu [129.130.6.19]) by hub.org (8.9.2/8.9.1) with ESMTP id XAA33909 for ; Fri, 5 Feb 1999 23:23:27 -0500 (EST) (envelope-from jamest@math.ksu.edu) Received: from noether.math.ksu.edu (noether.math.ksu.edu [129.130.6.19]) by noether.math.ksu.edu (Postfix) with ESMTP id 0A7A11A422; Fri, 5 Feb 1999 22:23:25 -0600 (CST) Date: Fri, 5 Feb 1999 22:23:24 -0600 (CST) From: James Thompson To: Bob VonMoss Cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] connecting: unix socket? Yes. TCPIP port? No. -i? Yes. In-Reply-To: <36BBBA90.67C72C26@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 5 Feb 1999, Bob VonMoss wrote: > I'm just getting into PostGreSQL and would ultimately like to > communicate from a java/JDBC applet through the web with PostGreSQL on a > Solaris unix system. I've had a user account created for me. I'm able to > do everything so far from the commandline through unix sockets by > running 'psql' and 'createdb mydb'. > I'm new to postgresql as well but I had a similar problem. The pg_hba.conf file by default allows connections from the localhost and unix socks but not tcp connections from other machines. The default USERAUTH is to trust connections from these two sources. I switched to crypt userauth and added a third connection type to the file host all 192.168.1.0 255.255.255.0 crypt and it solved my problems. ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-< James Thompson 138 Cardwell Hall Manhattan, Ks 66506 785-532-0561 Kansas State University Department of Mathematics ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<