u014109813
2016-06-12 03:36
采纳率: 50%
浏览 1.1k
已采纳

Volley加载图片总报这个错误,求指点

06-12 11:34:43.719: E/ImageLoader(27449): failed to connect to file.tche001.com/141.8.224.93 (port 80) after 5000ms
06-12 11:34:43.719: E/ImageLoader(27449): java.net.SocketTimeoutException: failed to connect to file.tche001.com/141.8.224.93 (port 80) after 5000ms
06-12 11:34:43.719: E/ImageLoader(27449): at libcore.io.IoBridge.connectErrno(IoBridge.java:189)
06-12 11:34:43.719: E/ImageLoader(27449): at libcore.io.IoBridge.connect(IoBridge.java:127)
06-12 11:34:43.719: E/ImageLoader(27449): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:188)
06-12 11:34:43.719: E/ImageLoader(27449): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:461)
06-12 11:34:43.719: E/ImageLoader(27449): at java.net.Socket.connect(Socket.java:918)
06-12 11:34:43.719: E/ImageLoader(27449): at com.android.okhttp.internal.Platform.connectSocket(Platform.java:139)
06-12 11:34:43.719: E/ImageLoader(27449): at com.android.okhttp.Connection.connect(Connection.java:152)
06-12 11:34:43.719: E/ImageLoader(27449): at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:282)
06-12 11:34:43.719: E/ImageLoader(27449): at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:216)
06-12 11:34:43.719: E/ImageLoader(27449): at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:382)
06-12 11:34:43.719: E/ImageLoader(27449): at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:332)
06-12 11:34:43.719: E/ImageLoader(27449): at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:500)
06-12 11:34:43.719: E/ImageLoader(27449): at com.nostra13.universalimageloader.core.download.BaseImageDownloader.getStreamFromNetwork(BaseImageDownloader.java:117)
06-12 11:34:43.719: E/ImageLoader(27449): at com.nostra13.universalimageloader.core.download.BaseImageDownloader.getStream(BaseImageDownloader.java:88)
06-12 11:34:43.719: E/ImageLoader(27449): at com.nostra13.universalimageloader.core.decode.BaseImageDecoder.getImageStream(BaseImageDecoder.java:98)
06-12 11:34:43.719: E/ImageLoader(27449): at com.nostra13.universalimageloader.core.decode.BaseImageDecoder.decode(BaseImageDecoder.java:74)
06-12 11:34:43.719: E/ImageLoader(27449): at com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.decodeImage(LoadAndDisplayImageTask.java:265)
06-12 11:34:43.719: E/ImageLoader(27449): at com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.tryLoadBitmap(LoadAndDisplayImageTask.java:238)
06-12 11:34:43.719: E/ImageLoader(27449): at com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.run(LoadAndDisplayImageTask.java:136)
06-12 11:34:43.719: E/ImageLoader(27449): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
06-12 11:34:43.719: E/ImageLoader(27449): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
06-12 11:34:43.719: E/ImageLoader(27449): at java.lang.Thread.run(Thread.java:818)

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新

  • 简一_hz 2016-06-12 03:49
    最佳回答

    看错误提示就是连接服务器失败阿;你用你的手机浏览器访问下自己的服务器,看能不能连接上

    评论
    解决 无用
    打赏 举报
查看更多回答(1条)

相关推荐 更多相似问题