title: Permission denied in while making http request
body: <p>i am making request to request with following and i am getting exception in android application.</p>
  
  <pre><code>URL url = new URL(strURL);
  URLConnection urlConnection = url.openConnection();
  
  try {
      HttpURLConnection httpConn = (HttpURLConnection) urlConnection;
      httpConn.setRequestMethod("GET");
      httpConn.connect();
  
      if (httpConn.getResponseCode() == HttpURLConnection.HTTP_OK) {
          is = httpConn.getInputStream();
  
      }
  } catch (Exception ex) {
  
      System.out.println(ex);
  }
  </code></pre>
  
  <p>getting following exception</p>
  
  <pre><code>java.net.SocketException: Permission denied
  </code></pre>