Recommended solutions based on your search
You are probably trying to write to a connection when the other end (the remote end of the connection) has already closed it.
Solutions on the web
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.lang.Thread.run(Unknown Source)