Exception information:
System.Net.Sockets.SocketException (0x80004005): the operation on the socket cannot be performed because the system has insufficient buffer space or the queue is full. 192.168.0.187:22
At System.Net.Sockets.Socket.DoConnect (EndPoint endpointsnapshot, socketaddress socketaddress)
At System.Net.Sockets.Socket.Connect (EndPoint remoteep)
At Tamir.sharpssh.java.net.socket..ctor (String host, Int32 Port)
At Tamir.SharpSsh.jsch.Util.createSocket (String host, Int32 port, Int32 timeout)
Error Description:
WebService, processing services are deployed on the server: WebService has a client polling call, and the processing service polls the database for processing and uploading files to the SFTP.
Workaround:
Modify Two registry:
Hkey_local_machine\system\currentcontrolset\services\tcpip\parameters\maxuserport if not, manually create a DWord (32-bit) "Value data" Change to a decimal 65534 or a value that is considered appropriate.
This value represents the maximum number of ports used by the user and defaults to 5000.
Hkey_local_machine\system\currentcontrolset\services\tcpip\parameters\tcptimedwaitdelay if not, manually create a DWord (32-bit) " Value data "to decimal 30 or the value you think is appropriate.
This value indicates how long a closed port waits and can be reused, with a default of 120 seconds, or 2 minutes before it can be reused.
Operation on socket cannot be performed due to insufficient system buffer space or queue full-workaround (CSDN manual migration)