Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. "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..

"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..

Scheduled Pinned Locked Moved C#
helpcsharpsysadminjsonquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ag46677
    wrote on last edited by
    #1

    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

    Mircea PuiuM 1 Reply Last reply
    0
    • A ag46677

      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

      Mircea PuiuM Offline
      Mircea PuiuM Offline
      Mircea Puiu
      wrote on last edited by
      #2

      It seems that your connection timed out :-)

      SkyWalker

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups