mks java api connection error
Hello
I am trying to connect to Mks using the mks java api and encounter the Connection refused: connect error.
I am using the following code
{
IntegrationPointFactory ipf = IntegrationPointFactory.getInstance();
CmdRunner cmdRunner;
Response resp =
null;try {cmdRunner = ipf.createLocalIntegrationPoint(4, 10)
.getCommonSession().createCmdRunner();
Command cmd =
new Command(Command.SI, "about");resp = cmdRunner.execute(cmd);
}
catch (APIException e) {System.
out.println("Error " + e.getMessage());resp = e.getResponse();
}
}
to connect at mks client (I am using MKS Integrity Client 2009) and I encounter the following error
{
Connection refused: connect
}
How can I improove the above code in order to successfully connect to mks and skyp the error ?
Best regards,

