Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 258290

Re: System.isHostReachable not always returning true when hosts are pingable

$
0
0

There is no limitations to what this system call can see.

 

Scripting call

System.isHostReachable(hostOrIp, timeout);

is equivalent to this standard Java call

InetAddress.getByName(hostOrIp).isReachable(timeout);

 

My suggestion is to try to increase timeout parameter from its default value 1000 milliseconds to a larger value, for example 3000 milliseconds.

 

-Ilian


Viewing all articles
Browse latest Browse all 258290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>