ObjectDB ObjectDB

listening on a particular IP aside localhost

#1

I have being searching all around for how to do this but still no luck.

I want objectdb to be able to listen in server mode to other connections from another machine where client is installed. I will like to have objectdb on machine A, while B,C, D can access the database in a using code like this

    emf = Persistence.createEntityManagerFactory(
        "objectdb://192.168.50.56:8888/myapp6136.odb");
    emf.createEntityManager();

Please what is the right way to do this. I was able to get that I can add port 8888 in configuration file but I wasn't able to add listening ip address such as 192.168.50.56

edit
delete
#2

ObjectDB will listen automatically to all requests to the server on which it is running. If the server has several different IP addresses then ObjectDB will listen on all of them and specifying specific IP addresses is not supported. Associating a server with IP addresses is of course unrelated to the ObjectDB configuration.

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.