I have an application running on iis(7) ( asp.net mvc if that matters ) and i want to connect to it ( a method from a controller obviously ) from a PDA.
I am using HttpWebRequest/Response but i get "Unable to connect to the remote server" "No connection could be made because the target machine actively refused it"
If i am doing the same thing from a console application ( this time the client and server are the same machine ) it works fine
How to solve it ? Thanks.
Later edit: Problem solved. I just pulled out the mobile from the cradle and put it in again, it connected again to the pc and now it works
IS port 80 open for inbound requests? You may need to add a rule :
Windows Firewall with Advanced Security / Inbound Rules / New Rule / Port Rule