Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

Created: 23 Feb 2013 • Updated: 06 May 2013

Hi Guys,

I need urgent help, from my web webserver when trying to scan file getting below exception.

System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.IO.StreamReader.ReadBuffer()
   at System.IO.StreamReader.ReadLine()
   at com.symantec.scanengine.api.Connection.GetConnection(List`1 scanEngineServers, Int32 readWriteTimeout, Int32 scIPRetryTime, Boolean bExtendedThreatInfo)
   at com.symantec.scanengine.api.FileScanRequestImpl..ctor(List`1 scanEngines, Int32 rdWrTimeout, Int32 scIPRetryTime, Policy scanPolicy)
   at com.symantec.scanengine.api.ScanRequestManager.CreateFileScanRequest(Policy scanPolicy)
Operating Systems: