title: How do I fix this UnknownHostException?
body: <pre><code>public static final String readURL(String url)throws Throwable
  {
          try {
              InputStream in = (InputStream) fetch(url);
              byte[] bArr = readBytes(in);
              return new String(bArr);
          } catch (Throwable e) {
              throw e;
              }
  }
  
  
  public static final Object fetch(String address) throws MalformedURLException,IOException {
      URL url = new URL(address);
      Object content = url.getContent();
      return content;
  }
  </code></pre>
  
  <p>I am behind a proxy and when I try </p>
  
  <p>readURL("<a href="http://abc.com" rel="nofollow noreferrer">http://abc.com</a>")</p>
  
  <p>to access URL <a href="http://abc.com" rel="nofollow noreferrer">http://abc.com</a> it throws java.net.UnknownHostException:
  I have:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt; 
  </code></pre>
  
  <p>in manifest file.</p>
  
  <p>Any quick solutions?</p>