You can use Try.catch to catch the exception that is causing the exception, and then do not output or output only one hint message, avoid using e.printstacktrace (), and output all exception information. However, if the exception information is not specifically handled, it is possible in the server's log file, repeat the exception, causing the server log files too large, affecting the server's operation. You can use Netstat-an to view network connectivity.Ģ customers shut down the browser, and the server is still sending data to the client īoth of these situations generally do not affect the server. If you know that the actual number of concurrent clients connected to the server does not exceed the server load, it may be a virus or trojan, causing network traffic anomalies. Common reasons for Connection reset by peer:ġ The number of concurrent connections to the server exceeds its load capacity, and the server closes some of the connections
0 Comments
Leave a Reply. |