Friday, February 24, 2012

Error Domain=NSPOSIXErrorDomain Code=61 "The operation couldn\u2019t be completed. Connection refused”


I am using asyncSocket as client side, aim running my application on I-Phone simulator, and the server side coded with C#. its working perfectly if i try to connect with a server on my LAN but the connection refused with the server out of my LAN.



I'am sure that the same server is working with another client code done on C#.



And this the message i get from socket Error:



Error Domain=NSPOSIXErrorDomain Code=61 "The operation couldn\u2019t be completed. Connection refused"



Knowing that i get this message on connect phase before try to send data to server.



Any helping idea is appreciated.

1 comment:

  1. I am having the same issue. Were you able to resolve this problem?

    Thanks.

    ReplyDelete