Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

client socket not working  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a server app listening on port 80 , I have an android app that is suppose to talk to the server but it keeps saying "socket timeout"
I am putting the link to the java source code , can you please see if anything is wrong ?

thanks

javacode
 
Bartender
Posts: 3306
86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

As this is an android client I will link this thread with the android forum.

BTW It would be better if you posted the relevant sections of the code inline as many people won't click on links to code.
 
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also post relevant details
1) Where is your server running
2) Are you using the emulator or real device
3) Have you ensured the server is accessible from the emulator/device? How?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!