title: http post request get SocketTimeoutException
body: <p>I'm trying to configure an HTTP POST request, but I get <code>SocketTimeoutException</code> all the times.
  Does anyone know what is wrong with my code?</p>
  
  <pre><code>int TIMEOUT_MILLISEC = 60000;  // = 60 seconds
  HttpParams httpParams = new BasicHttpParams();
  HttpConnectionParams.setConnectionTimeout(httpParams, TIMEOUT_MILLISEC);
  HttpConnectionParams.setSoTimeout(httpParams, TIMEOUT_MILLISEC);
  
  client = new DefaultHttpClient(httpParams);
  
  StringBuilder builder = new StringBuilder(URL_STRING); 
  
  HttpPost request = new HttpPost(builder.toString());
  
  request.setEntity(new ByteArrayEntity(jobj.toString().getBytes("UTF8")));
  
  HttpResponse response = client.execute(request);
  </code></pre>