I am trying to get the android emulator to simply connect with a server I set up on another computer. However, the connection is not being made.
It throws an exception on this line:
Socket s = new Socket(SERVER_IP, SERVER_PORT);
I have been messing around with this for hours. Does anyone have any idea what might be going wrong?
The server sets up the socket just fine, and waits for the message from the emulator.
Thanks in advance =)
Similar:
- My simple program runs on Android emulator, but not on my Nexus One To clarify, I have no trouble getting the Nexus One connected in developer’s mode. I can actually get Eclipse to “run” my program on my...
- Handshake between a PHP socket server and Flash AS3 Hi, What’s an example of a simple handshake between a php socket server and flash? A test I can run command line would be ideal,...
- How do I connect webapp VB/LINQ to a MySQL database server on a Linux I have a programmer who is using VB and LINQ; and I have a MySQL database that is running on a linux server. My programmer...
- C# client socket communicating with a Java server socket using readObject() … I’ve got a Java server daemon, spawning threads to handle client requests. The requests come via sockets, and the Java server uses readObject() to recieve...
- Flex socket crossdomain I am trying to connect to a socket server from flex. I read, on adobe’s documentation, the client automatically sends a “request-policy-file” xml element to...
Tags: emulator, server ip, server port, socket server, thanks in advance
I am having the same issue. Did you fins a solution?