This approach works but requires updating the Rhino JS class shutter which is bit like the js-io-rights change needed for the Command processing in the previous suggestion. This works on my setup in which runs in Workstation (vApp on NAT network + client running on my laptop)
create the file below on the vApp filesystem
/etc/vco/app-server/rhino-shutter.txt
Put these lines into the file
java.net.*
java.io.*
java.lang.*
Edit this file
/etc/vco/app-server/vmo.properties
Add this line
com.vmware.scripting.rhino-class-shutter=rhino-shutter.txt
Bounce the app-server process
# service vco-server restart
Give the server a few minutes to become Active then start a client + execute the following in the JS script of a workflow
var baseAddress = (java.net.InetAddress).getLocalHost();
System.log(baseAddress.getHostAddress());
The IP of the server should be printed in the output
Right, finally leaving this alone, best of luck with all of it :smileyhappy:
-Eoin