Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've developed a web service which works by sending request to a third party API. Everything is fine if I work in visual studio, but if I host my web service in IIS and run the test application, I'm getting the error "No connection could be made because the target machine actively refused it [thirdparty ip]:443". If the third party server is refusing the request, how it works from my Visual studio?.
Any ideas???
Updated 22-Apr-12 21:24pm

May be Firewall is blocking the port 443. check the status of the port.[^]
Share this answer
jokertin92 23-Apr-12 6:22am    
DO you want me to check my third party server?
Chamila Nishantha 23-Apr-12 7:17am    
Yes, Also check certificate working properly.
jokertin92 23-Apr-12 9:12am    
But, it works fine when I run the application from visual studio.
I solved it myself, it's about the permission issue, outside IP was blocked by our IT team.
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