Hi guy,
Just like the title, is it possible?
I have a configuration file like this :
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
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
Just like the title, is it possible?
I have a configuration file like this :
B4X:
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
B4X:
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
B4X:
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
Last edited: