Subject | Re: [Firebird-Java] Re: Events API -- NoSuchMethodError: org.firebirdsql.gds.GDS.createIscDbHandle |
---|---|
Author | Roman Rokytskyy |
Post date | 2007-04-23T11:51:35Z |
> I'm now getting another error, which is that theNo, localhost has IP address 127.0.0.1, not 1.0.0.127 :)
> AsynchronousEventNotifier code cannot connect to the db on 1.0.0.127.
> That's kinda weird, because at the same time isql is connected to the
> db via localhost. However, if I try to connect via isql to that db
> using 1.0.0.127, isql fails to conenct with "no route to host". I
> guess that the FBEvent sample code is connecting via ip address and
> not hostname. I will try it on another OS - maybe this connection
> issue is OS X specific.
You can use normal DNS names in the JDBC URLs too - simply use localhost.
Roman