Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

InetAddress.isReachable(int timeout)

843790Jun 18 2006 — edited Jun 19 2006
Any suggestions as to why this works for local addresses, eg. 192.168.0.1 but not for addresses out on the internet, eg. 192.0.34.166? - ie. it returns false for 192.0.34.166 even though I can ping it.

I've tried excessively large timeout values - such as 20000ms, but no luck.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2006
Added on Jun 18 2006
2 comments
116 views