Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9FDFxr98072 for ; Mon, 15 Oct 2001 09:15:59 -0400 (EDT) (envelope-from nickf@ontko.com) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id IAA28084; Mon, 15 Oct 2001 08:15:53 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: "Moovarkku Mudhalvan" , Subject: Re: What may be the url we need to use to connect the Postgres Database with Java Date: Mon, 15 Oct 2001 08:14:13 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <00c401c1554d$e17e7b50$ec01a8c0@eth.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Archive-Number: 200110/129 X-Sequence-Number: 2374 jdbc.oracle.thin@ipaddress > like this do we have any url need to be used in Postgres if so > let me know. jdbc:postgresql:database jdbc:postgresql://host/database jdbc:postgresql://host:port/database if left out, host defaults to localhost- this is where you put your IP address if left out, port defaults to 5432 For example: jdbc:postgresql://199.199.199.199/test will connect you to the database named "test" on the host "199.199.199.199" You will also need to have the database running with tcpip_socket set to "1" or true in the postgresql.conf file, and set up authorization in pg_hba.conf (search on these filenames in the interactive documentation for more. -Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/