|Subject||Re: [Firebird-Java] Re: Events API -- NoSuchMethodError: org.firebirdsql.gds.GDS.createIscDbHandle|
> I'm now getting another error, which is that theNo, localhost has IP address 127.0.0.1, not 18.104.22.168 :)
> AsynchronousEventNotifier code cannot connect to the db on 22.214.171.124.
> 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 126.96.36.199, 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.