Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Wireless connection & IOException

 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have created a wireless connection wizard and when I execute the program, it says
"java.io.IOException: No response from http://10.2.2.233:8081/servlet/SearchServlet"

this is the URL of my servlet and I have executed it as well. So could you please give me some tips to correct this problem. Thank you very much in advance....
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The 10.*.*.* IP address range is reserved for private networks. Are you sure that you have a computer at that IP address on your local area network as you specified? Can you access that servlet using a browser on the same computer the phone emulator runs? Do you handle both GET and POST on your servlet?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!