有没有人知道当我收到这个错误时会发生什么,我在这个问题上被锁定了几个小时。我的代码是:
HttpPost httpPost = new HttpPost(SERVICE_DATA_ADRESSE);
HttpResponse response = httpClient.execute(httpPost);
HttpEntity entity = response.getEntity();
Scanner sc = new Scanner(entity.getContent());在服务器端,当我调试方法调用(它是一个Csharp服务器)时,它工作得很好。
当代码运行时,我收到以下错误
ECONNRESET(Connection reset by peer)但我不知道这到底是什么意思。有没有人可以把这个错误翻译给我?
谢谢,
艾略特
发布于 2014-05-19 21:46:54
这是由于服务器想要发送答案时的序列化问题。
https://stackoverflow.com/questions/23733417
复制相似问题