VMware Cloud Community
rickvelez
Contributor
Contributor

vCO Appliance 5.5.2 isHostReachable

I'm trying to use System.isHostReachable(IP) in a vCO workflow but ALL the IPs returns true, Do I need to configure something in order to get this working?

0 Kudos
2 Replies
iiliev
VMware Employee
VMware Employee

Nothing need to be configured. This method simply calls the underlying Java API InetAddress#isReachable()

Could you try to ping the IPs from the shell console?

0 Kudos
rickvelez
Contributor
Contributor

Yeah, from SSH is working correctly but not when using System.isHostReachable in vCO. 

Also I used a java class with InetAddress#isReachable() and execute it from the command line and it worked fine.

0 Kudos