> > psql -h<hostname> <database name>
> >
>
> That work of course.
OK, so we know the DB is accepting connections- that's progress...
This URL doesn't look quite right to me.
> conn = DriverManager.getConnection(
> "jdbc:postgresql:company:@192.168.1.103:5432",
> "postgres",
> "" );
assuming the database name is "company" Try changing this to:
conn = DriverManager.getConnection(
"jdbc:postgresql://192.168.1.103/company",
"postgres",
"" );
-NickF