AnsweredAssumed Answered

JDBC, connect to another computer on the same network

Question asked by lancelot on Nov 17, 2016
Latest reply on May 10, 2017 by fmpdude



I've a local network at home where FMP is opened on a computer, let's call it computer A.

JDBC sharing is enabled as well as Network sharing.

The IP address of this computer is static.


I've another computer, let's call it computer B, where the FMP files from computer A are opened remotly.

I want to run a Java program on computer B to establish a connection with the FMP files from computer A.

I'm currently using this line of code, which isn't working :


connexion = DriverManager.getConnection("jdbc:filemaker://"+ipAddressComputerA+"/myDatabase", "Admin", "");


Also, the library "fmjdbc.jar" is imported.


It seems obvious but I've struggled many days on this issue.

Do you have any idea on how to establish the connection ? Should I specify a port for the connection ?


Many thanks.