"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond".Exception please Help..
-
Hi All, As my subject says all that I have been struggling with the same exception as "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond". The scenario is I am using socket programming to send some data to the client machine from my server using a web service. I have tested around 50 odd cases in which the same exception is raised in around 10 cases and rest is delivered successfully. Can anybody help me out with this exception? Exception details are pasted below - System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP) As far as fire wall and antivirus is concern, as mentioned before few cases are reaching to the client machine and few are not. So can anybody help me out of this problem. Thanks in Advance.... Ankur
-
Hi All, As my subject says all that I have been struggling with the same exception as "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond". The scenario is I am using socket programming to send some data to the client machine from my server using a web service. I have tested around 50 odd cases in which the same exception is raised in around 10 cases and rest is delivered successfully. Can anybody help me out with this exception? Exception details are pasted below - System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP) As far as fire wall and antivirus is concern, as mentioned before few cases are reaching to the client machine and few are not. So can anybody help me out of this problem. Thanks in Advance.... Ankur
It seems that your connection timed out :-)
SkyWalker