WCF/WF - TCP error code 10061: No connection could be made because the target machine act

Asked By Anand Srivastava on 20-May-10 11:30 AM
I have hosted my WCF service in Windows Service and when I am trying to consume from my client application I am getting following error.Any help will be appreciated.

Could not connect to http://localhost:8731/IMSWCFService/Service1. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8731.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:8731
If the service is defined in the current solution, try building the solution and adding the service reference again.

ClientAccessPolicy.xml set up correctly to all you to connect?

Robbe Morris replied to Anand Srivastava on 20-May-10 11:54 AM
end of post