Hi guy,
Just like the title, is it possible?
I have a configuration file like this :
DriverClass=org.firebirdsql.jdbc.FBDriver
JdbcUrl=jdbc:firebirdsql://localhost:3050/my_db?charSet=utf-8
ServerPort=18000
Debug=true
That configuration worked well caused there is firebird database listening on port 3050 on the same machine.
But if I change listening port to this
JdbcUrl=jdbc:firebirdsql://localhost:3250/my_db?charSet=utf-8
where 3250 is a port that my application tunnel listen, it won't work.
EDIT
===
It worked, turn out that in my code there was code that still point to a local firebird port. After changed it, it worked OK.
Note that database path must be use symbolic name that described in database.conf in firebird server, absolute path won't worked
JdbcUrl=jdbc:firebirdsql://localhost:3250/my_db?charSet=utf-8 ' must be set like this
JdbcUrl=jdbc:firebirdsql://localhost:3250/home/dba.fdb?charSet=utf-8 'won't work