I am trying to establish a socket communication between an Android app and a XBee S6B using a TCP connection over wifi. Both devices are in the same networt using a wifi-router. When I try to open the socket in the app I get a "Connection refused" exception. However, when I am using exactly the same C# source code on a PC the connection is established and I am able to exchange data. App to PC is working as well.
I am very glad for every hint to the solution of my problem!