From an Eclipse application running within Notes 8, I try to open a remote session for a different user using “NotesFactory.createSession(hostname, user,password)”.I always get the following error:
“org.omg.CORBA.COMM_FAILURE: java.net.ConnectException: Connection refused: connect Host: 127.0.0.1 Port: 63148 vmcid: 0x0 minor code: 1”
For me, it seems that Notes tries to open a local session instead of accessing the remote server.
Trying to get the IOR via “NotesFactory.getIOR(hostname)” fails too. But, opening a local session via “NotesFactory.createSessionWithFullAccess()” and then accessing the remote server on db level, works fine.
Does the Notes API, provided with the com.ibm.notes.java.api package, allow creating remote sessions for a user that is not the current client user?
BTW: Adding the to etc/hosts doesn’t help neither specifying the host’s IP for …