title: android, httpurlconnection error
body: <p>I'm running the following test Java script from the <a href="http://developer.android.com/reference/java/net/HttpURLConnection.html" rel="noreferrer">Android HttpURLConnection docs</a>:</p>
  
  <pre><code>URL url = new URL("http://www.android.com/");
  HttpURLConnection urlConnection = (HttpURLConnection)
  url.openConnection();
  urlConnection.connect();
  </code></pre>
  
  <p>Eclipse (on my Mac) is telling me there's a system error when I run this in the Android Emulator:</p>
  
  <p><code>01-13 13:44:32.767: WARN/System.err(1382): java.net.SocketException: Permission denied</code></p>
  
  <p>(Incidentally when I do the equivalent in Objective-C/Cocoa there's no problem at all.)</p>
  
  <p>What is the problem?</p>