I am trying to Get Response from API through Httpclient, but I am getting
org.apache.http.conn.HttpHostConnectException: Connect to URL failed: Connection refused: connect error.
I am able to get the response using PoSTMAN Tool but not through ecclipse when I am accessing through office domain even after setting proxy.
I am using Eclipse. Could you please let me know how to resolve this issue? I am stuck with issue.
Thank you In advance
mentioned the https protocols as well in system properties
java.util.Properties systemProperties = System.getProperties();
systemProperties.put("https.protocols", "TLSv1.2");
Smartsheet smartsheet = new SmartsheetBuilder().setAccessToken(accesstoken).build();