Connection refused when connecting to DIIOP server (Java API)

Hi all,

I’m trying to connect remotely to DIIOP server using:

String host = “192.168.1.62:50000”;

Session s = NotesFactory.createSession(host);

I have this error: NotesException: Could not open Notes session: org.omg.CORBA.COMM_FAILURE: java.net.ConnectException: Connection refused Host: 127.0.0.1 Port: 50000 vmcid: 0x0 minor code: 1 completed: No

I have read the article “Java access to Domino” (http://www-10.lotus.com/ldd/today.nsf/a2535b4ba6b4d13f85256c59006bd67d/c18beec15f55f1ef85256d66005c7da9?OpenDocument) and I understand that the reason is because DIIOP task is not running. But in fact, my DIIOP task is running well. When I trace the server log, I found this record:

03/24/2005 13:08:20 DIIOP Server: 192.168.1.22 connected

03/24/2005 13:08:20 DIIOP Server: 192.168.1.22 disconnected

It seems that my program (with IP 192.168.1.22) has accessed to DIIOP Server, but it has been rejected immediately (please note the timestamp). Can anyone help me to figure the problem? Thanks

Here is my server configuration

  • Platform: Linux Slackware

  • IP: 192.168.1.62

  • Domino version: 6

  • DIIOP port: 50000 Enabled

  • TCP Anonymous allowed: true