"annaiah h" <[EMAIL PROTECTED]> writes:
> When i try to connect to installed PGSQL on win-xp with Linux-server i get
> the message :
> Connection refused (0x274D/10061)
Either you didn't start the postmaster, or there's a firewall filter
blocking your access to port 5432 ...
String url = "" Properties props = new Properties();props.setProperty("user","fred");props.setProperty("password","secret");
props.setProperty("ssl","true");Connection conn = DriverManager.getConnection(url, props);
although there are different forms for the url connection string.
Do no forget to
"Majo George Cheruvathur" <[EMAIL PROTECTED]> writes:
> I cannot able to connect to postgresql.I am pasting my code here.
> Class.forName("org.postgresql.Driver");
> Connection conn=3DDriverManager.getConnection("jdbc:postgresql://127.0.0.1=
> /*
> postgres*", "*postgres*", "sadeen");
> here sa