When my client (ASP.NET) tries to call the service class hosted by the windows service, I get this error "TCP error code 10061: No connection could be made because the target machine So convinced was I that I had discovered the cause that I never bothered to read on to the end of the chapter, where I would have discovered another setting that First time I ever fixed ANYTHING! Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are http://thesweepdoctor.com/tcp-error/tcp-error-10061.html
The connection attempt lasted for a time span of 00:00:02.0051147. Each message that is set from a client or publisher will be sent to other clients who have subscribed to the events. Thanks, JohnB db7uk 13-Apr-13 19:43pm Ok, it sounds like the proxy dll is just a means to generate the address bindings and facilitate the communications (aka proxy). so in essence app 1 talks to app 2 via the service? https://social.msdn.microsoft.com/Forums/vstudio/en-US/58e420e9-43a3-4119-b541-d18158038e36/tcp-error-code-10061-no-connection-could-be-made-because-the-target-machine-actively-refused-it?forum=wcf
Thank u so much.. However I did start to pay closer attention to some of the settings that were being included in the App.config files. Thanks!ReplyDeleteRepliesChris Oldwood5 January 2015 at 21:31Nope, as I mentioned above this is not a WCF specific setting - it's a TCP/IP setting. Monday, July 01, 2013 5:29 PM Reply | Quote 0 Sign in to vote I'm quite interested in this as well, as I've got the same issue.
This will make an endpoint available for communication (ServiceHost()). share|improve this answer answered Apr 11 '12 at 17:11 Syed Tayyab Ali 2,21652134 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Should I follow the model of using a separate proxy DLL to communicate with? Tcp Error Code 10061 Localhost So i have created a client but it gives me an exception..Please help me Could not connect to http://localhost:8050/hashservice/services/HashClassSoap.
Here is the config file I'm using (on both WPF hosting the service) and the client that will communicate with it.. ========================================================================================