链接被拒绝。。权限我已经配置了这是为什么麻烦各位大哥了(新手)
03-30 23:38:38.002: W/System.err(280): java.net.ConnectException: /127.0.0.1:8080 - Connection refused
public InputStream getInputStream(String url1) throws Exception{
URL url = new URL(url1);
HttpURLConnection urlConnection =(HttpURLConnection) url.openConnection();
InputStream inputStream = urlConnection.getInputStream();
return inputStream;
}