title: why connection reset problem is come
body: <p>When I try to use sockets in my Java application, I get a <code>SocketException</code>:</p>
  
  <pre><code>  SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:186)
      at java.net.SocketInputStream.read(SocketInputStream.java:200)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2266)
      at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2559)
      at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2569)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
      at Form.Server.transfer(Server.java:69)
      at Form.Server.main(Server.java:53)
  </code></pre>