I'm building an app in Adobe Air 2 with AS3 and need to get the users ip address. From what I understand this code should work but is tracing: "::1" not an ip. Thank you.
var netInterfaces = NetworkInfo.networkInfo.findInterfaces();
var addresses = netInterfaces[0].addresses;
var userIp = addresses[0].address;
trace(userIp);