Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
While accessing the WCF service method , I received the following error
"There was no endpoint listening at http://localhost:1062/MyService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."

The inner exception is

"Unable to connect to the remote server"

"No connection could be made because the target machine actively refused it "

Please help
Posted
Comments
Richard C Bishop 15-Apr-14 13:17pm    
You probably need to enable remote access on the machine you are attempting to access.

Ensure there is a service listening at http://localhost:1062/MyService.svc and that this is accessible.
 
Share this answer
 
Here is the solution..
Binding was changed , I just need to update the service reference and its done..!!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900