S6B to Android communication using TCP

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!

Regards, Florian

I am afraid that you are going to need to do some searching on the web for how to create and control a socket on an Android device.

Are there any specific settings to look for?