WCF service suddenly stops accepting connections

So, I’m debugging a client application which connects to a net.tcp endpoint of some WCF services hosted in IIS7, and all of a sudden the client can’t connect to the services any more, coming back with an error along the lines of “No connection could be made because the target machine actively refused it”. Trouble is it just happened randomly and even after a restart of my machine it still wouldn’t work.

 

  • not a missing binding on the IIS site
  • not a firewall or security issue blocking the connection
  • not a lack of WAS being installed
finally found the culprit – the local service “Net.Tcp Listener Adapter” wasn’t running. It was set to automatic start and still wasn’t running even after a reboot. Started that service, and voila, problem fixed.
Advertisements
This entry was posted in IIS and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s