المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080



C# Programming
08-16-2013, 04:56 AM
Hi,

I have an windows application. On button click, I call a service called ServiceA (ServiceA is in my local machine). From ServiceA's method, I hit database and retrieve some records. After retrieved, I call another WCF service called ServiceB (ServiceB is availabled in another machine within network). I have added ServiceB's proxy files in my ServiceA's project. endpoints and bindings are added in wwwroot\web.config. When I try to consume ServiceB's method, I am getting the following error.

Could not connect to http://tde017:8080/AdapterService/AdapterService.svc. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080

Previously, it throws with the port number 80. I configured the another port 8080. Now error is throwing with 8080.

But, If I consume the serviceB directly from my windows application, I am getting response. If I go through another service, I am getting error.

I tried many scenarios. But, still I could not get solution. Any one help me on this....

Thanks in advance.

Regards,
Bala
Balasubramanian K.