Take a look at the scheduler log file. You should find a message there recording your failed connection attempt and providing the reason for your connection rejection. : Hi, : I am having a problem connecting to the 24x7 scheduler using the Java API: It : throws an exception "Connection refused: connect" while trying : to open a session. : This is how I am doing it: Integer integer = new Integer(1097); : String s = new String("LocalHost"); : String s1 = new String("c40133"); : String s2 = new String("ntpt"); : String s3 = new String("serial number"); : try{ : j24x7_2.openSession(s, integer, s1, s2, s3); : }catch (Exception e){ : System.out.println(e); : }
|