title: How to resolve org.apache.http.conn.ConnectTimeoutException in Http Request to another server?
body: <p>I am using HttpClient to handling http requests and when I try to contect with my target server I am getting a error as </p>
  
  <pre><code>org.apache.http.conn.ConnectTimeoutException: Connect to prdalonegk.alonegk.com:9090 timed out
  </code></pre>
  
  <p>where <code>prdalonegk.alonegk.com:9090</code> is my xmpp server</p>