aspose file tools*
The moose likes Android and the fly likes connect to Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "connect to "IP" timed out" Watch "connect to "IP" timed out" New topic
Author

connect to "IP" timed out

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Hello,

I am using the following code to connect to a server:



It works fine with the android localhost "10.0.2.2" but when attempting to connect to another server (non localhost) it says connect timed out! What can be the reason?

Please advice,

Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

It may be because you are behind proxy.


Life is easy because we write the source code.....
 
wood burning stoves
 
subject: connect to "IP" timed out