trouble accessing working HTTPService from Android
<p>I have a working .Net WCF HTTP service.  If I put the URL into I.E, FireFox, or google Chrome browsers, I get back the correct stream.  But when I try to access that same service in an android app (running in Eclipse) I get a socketException with the detail message "Permission Denied".  The service is running on my machine in the Visual Studio web hoster and the client is running in the android emulator also on my machine.</p>

<p>The line that gets the exception is: 
InputStream in = new BufferedInputStream(urlConnection.getInputStream());     </p>

<p>(I have an earlier post on this same program where the url is www.android.com and I'm getting "invalid url")</p>

<p>Might anyone have a clue why the browsers have no problem with it and the android client is getting permission denied?
thanks,
Gary</p>

<pre><code>        HttpURLConnection urlConnection = null;

        try 
        {
            URL url = new URL("http://localhost:8080/TeamTask/Tasks");   
            urlConnection = (HttpURLConnection) url.openConnection();
            InputStream in = new BufferedInputStream(urlConnection.getInputStream());     
            readStream(in);
        } 
        catch (MalformedURLException e) 
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } 
        catch (IOException e) 
        {   
            e.printStackTrace();
        }  
</code></pre>
