Connecting postgreSQL using JDBC - Mailing list pgsql-general

From Howard
Subject Connecting postgreSQL using JDBC
Date
Msg-id 8jbrkj$7n26@imsp212.netvigator.com
Whole thread Raw
Responses Re: Connecting postgreSQL using JDBC
List pgsql-general
I have just tried a sample Java program. It connects the PostgreSQL through
the JDBC. I ran it on the postgreSQL machine. It works fine. But, when I
tried to run it in another machine and connecting the database through the
network. The connection was refused. I have no idea what is wrong.

postgreSQL:
    startup with 'postmaster -i'
java program:
    ...DriverManager.getConnection ("jdbc:postgresql:webtest", "nobody",
"");
where webtest is my testing database name.

-- Howard



pgsql-general by date:

Previous
From: Richard Harvey Chapman
Date:
Subject: Inserting into views
Next
From: Tom Lane
Date:
Subject: Re: Inserting into views