When you are doing Java Web programming, you may not be aware of some of the error messages. Here, I will be in the actual use of the information commonly used in the following summary.
In use, the Java network often appears with the following error message:
1,eofexception
Throw such an exception, which means that the connection is lost, that is, the other end of the network connection is not a normal shutdown connection (may be the host power off, network cable failure, etc.)
2,Connectexception:connection refused connect.
Throws such an exception to indicate that the current host does not exist because it cannot be connected
3,Socketexception:socket is closed.
Throws such an exception to indicate that the connection is properly closed, which means that the other end actively closes the connection
4,socketexception:connection reset.
Throws such an exception, which means that one end closes the connection and the other end is reading the data at this time
5,socketexception:connect reset by peer.
Throws such an exception, which means that one end closes the connection, and the other end is sending data at this time
6,Socketexception:broken pipe.
Throws such an exception to indicate that the connection is closed but continues to use (that is, read/write operations) This connection
7.bindexception:address already in use
Throws such an exception to indicate that the port is already occupied
The above 7 points is Java common Network error message, hope to give everyone in the development and maintenance of help.
Finally, I am engaged in Java Application Server development for two years, I hope this interested friends, can communicate with me, learn from each other.