Forum Xamarin.Android

I am not able to connect to a c# server code I am running on my desktop from a TcpClient on android

I listened on a c# desktop app through wifi and tried to connect a tcpclient through android app running on my phone connected to the same wifi but it is not connecting.



  • leye0leye0 USMember ✭✭

    What is the exact error in the crash?
    Did you set the network permission on Android?
    Did you make sure your firewall is off, or at least on with the proper port allowing inbound connections?
    Are you sure you are using the good ip address and port?
    What is the library/API you used on Android and on the desktop app?

    Can you paste the code used for the listening on the server (desktop) and to connect with the client (Android)?

Sign In or Register to comment.