Why does a port occasionally stop listening? This happens only on occasion

Posted by Binh Nguyen on Stack Overflow See other posts from Stack Overflow or by Binh Nguyen
Published on 2012-12-13T23:01:50Z Indexed on 2012/12/13 23:03 UTC
Read the original article Hit count: 273

Filed under:
|
|

I have a Windows Service written in C# that listens on port 8591. I also have a web application hosted in IIS on the same server that makes request to the service. On occasion the port will stop listening and throws the following error: "No connection could be made because the target machine actively refused it 127.0.0.1:8591". This happened 3 times in 2 months and just resolves itself. I can also fix it manually by restarting the service. I'm wondering if any one else has run into this problem and has possible suggestions to resolve. I'm a developer and have worked with our windows group extensively and they assure me there is no firewall or AV blocking the port on occasion. This is running on Windows Server 2008 R2. Very puzzled at what could be causing this to happen. Please let me know if you need more information.

© Stack Overflow or respective owner

Related posts about port

Related posts about target