I have to ask this because Flash/Flex is driving me nuts.
I am using the ServerSocket class in an Air environment on the desktop to setup a server that listens for mobile clients (Air for mobile). I tested this in debug mode (Flash Builder) and everything worked fine: ServerSocket to listen to 127.0.0.1:8889 (local machine) --> Connection to 127.0.0.1, port 8889 setup on the mobile (local machine) --> check.
So I installed the app on my android smartphone (WiFi connected) and entered the machines IP and port but I couldn't get connected: ServerSocket to listen to 127.0.0.1:8889 (local machine) --> Connection to 192.168.2.101, port 8889 setup on the mobile --> not working.
Just for testing I setup an easy Java server, connected to the Java SocketServer and voilà it worked. So I assume that the problem lies within the SocketServer class of the Air environment.
Do you have any ideas? Would be glad if you guys could help.
Happy new year!