Hello,
to check if a VM is after deployment realy accessable via network i use the method "System.isHostReachable(IP,1000);".
But sometimes this function returns false although the Host is reachable by vRO Aplliance, Client and all other comuputers.
Is there a known problem with "isHostReachable" or has someone the same problem or solution?
best regards,
Mike
Hi Mike,
System.isHostReachable() is a thin wrapper around Java's InetAddress#isReachable(). If you google it, you'll find that it is a known issue with isReachable() not working very reliable.
Here are some links:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4921816
http://stackoverflow.com/questions/4779367/problem-with-isreachable-in-inetaddress-class
Hi Mike,
System.isHostReachable() is a thin wrapper around Java's InetAddress#isReachable(). If you google it, you'll find that it is a known issue with isReachable() not working very reliable.
Here are some links:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4921816
http://stackoverflow.com/questions/4779367/problem-with-isreachable-in-inetaddress-class
Hello Ilian,
thanks to claryfy the function behind the scenes.
Is there an other possibility without calling external "ping"?
Thank you,
Mike
