I am trying to connect to Splunk (Search Head) via Java sdk.
But I received connection timeout error: java.lang.RuntimeException: Connection timed out: connect
ServiceArgs serviceArgs = new ServiceArgs();
serviceArgs.setHost("companysplunkSearchHead.net"); // without http
Service service = Service.connect(serviceArgs);
The Splunk instance is on OpenShift ( I tried also to: create a new route for the port 8089 and also set allowRemoteLogin=always)
But the problem of connectivity still persists.