java - Jetty Server throwing connection timeout exception -


i trying put application on aws server getting log in jetty server log.

info: i/o exception (java.net.connectexception) caught when processing request: connection timed out may 12, 2015 1:41:02 org.apache.commons.httpclient.httpmethoddirector executewithretry info: retrying request 

i making https request service inside server code , works on local dev machine.

    postmethod method = new postmethod("https://someresource.com/");      string response="";     try{         client.executemethod(method);         response = method.getresponsebodyasstring();     }catch(exception e) {         system.err.println(e);     }finally {         method.releaseconnection();     } 

but fails logged messages posted above. idea doing wrong? took war file of artifact , put in webapps dir , running jetty command

sudo java -jar start.jar --disable=deploy 


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -