Syntax
myip()
Description
The myip() function returns an array of IP’s that are configured on the servers’ network interfaces.
If there is nothing configured an array containing one element of 127.0.0.1 should be returned.
Example
include("net")
println("My IP's are: ", myip())
My IP's are: ["127.0.0.1", "192.168.0.84"]