pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: gayatri ganpaa <gayatri_ganpaa@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Problem with JDBC
Date: Sat, 18 Dec 2004 12:30:09 -0800 (PST)
Message-ID: <20041218203009.50689.qmail@web51504.mail.yahoo.com> (raw)

 HI,
 
I am working on a project, in which a part of it deals with creating a table on different nodes of a Beowulf cluster.
 
Each of the nodes in the cluster is running a postmaster on different cluster. There is one master node in this cluster.
 
I am trying to run the postmaster on the port 9010 on these different nodes, I changed the postgresql.conf file on all nodes so that it accepts tcp-ip connection and changed the port number, also added an ip entry in pg_hba.conf file.

On the main node thats the master node, there is no problem it connects tot he database I want to.
 
But on the other nodes, to login onto other nodes of a cluster I would do a 'rlogin nodename'.
On these nodes too I changed both the files I had to change but it gives me a connection refused error. I do not understand what is this about, I checked many mailing lists where they say changing these files would make it work, but it doesn't.
 
Heres my code snippet which actually connects to the database:
 
Class.forName("org.postgresql.Driver");
String url = "jdbc:postgresql://plundar.cs.uno.edu:9020/gayathkash34";
conn = DriverManager.getConnection(url, "kashif", "password");
I do not underdtand Y isn't this working. Could you help me with this???
 
Thanks,
 
gayatri.


		
---------------------------------
Do you Yahoo!?
 Meet the all-new My Yahoo! – Try it today! 

Message-ID: <20041218203009.50689.qmail@web51504.mail.yahoo.com>
Permalink:  ../20041218203009.50689.qmail@web51504.mail.yahoo.com/
Also on:    postgresql.org/message-id/20041218203009.50689.qmail@web51504.mail.yahoo.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gayatri_ganpaa@yahoo.com
  Subject: Re: Problem with JDBC
  In-Reply-To: <20041218203009.50689.qmail@web51504.mail.yahoo.com>
  References: <20041218203009.50689.qmail@web51504.mail.yahoo.com>

* 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