Subject | Re: Debugging connection failure |
---|---|
Author | Roman Rokytskyy <rrokytskyy@acm.org> |
Post date | 2003-02-06T09:03:47Z |
Dave,
rules that block connection to port 3050. isql will not start the
server via inetd when used with localhost. JayBird uses normal
network connection to connect to database. Test if you can connect to
your database from another machine.
Best regards,
Roman Rokytskyy
> try {ojb/data/test.gdb",
> Class.forName("org.firebirdsql.jdbc.FBDriver");
> DriverManager.getConnection(
> "jdbc:firebirdsql:localhost:/home/david/dev/test/db-
> "sysdba",Unable to
> "masterkey");
>
> System.out.println("Got Connection");
> }
> catch (Exception e) {
> System.out.println("Exception: " + e);
> }
>
> When I run I see
>
> Exception: java.sql.SQLException: Problem getting connection:
> complete network request to host "localhost"Check if localhost is correctly resolved and there is no ip filtering
>
> I am sure I have done/am doing something stupid but I can't see it
> at the moment.
>
> Any ideas?
rules that block connection to port 3050. isql will not start the
server via inetd when used with localhost. JayBird uses normal
network connection to connect to database. Test if you can connect to
your database from another machine.
Best regards,
Roman Rokytskyy