Getting “SocketException : Connection reset by peer” in Android
Ok, the answer was that it’s the server’s fault – it had to close the connection after each request. It might be that Android keeps a pool of connections and use the old one or something like that. Anyway , now it works. EDIT: according to the API of HttpURLConnection, this can be solved on … Read more