public static List<String> getAddresses() {
		List<String> result = new ArrayList<String>();
		try {
			Enumeration<NetworkInterface> nets = NetworkInterface.getNetworkInterfaces();
			for (NetworkInterface netint : Collections.list(nets)) {
				Enumeration<InetAddress> inetAddresses = netint.getInetAddresses();
				for (InetAddress inetAddress : Collections.list(inetAddresses)) {
					result.add(inetAddress.toString());
				}
			}
		} catch (SocketException e) {
			// do nothing
		}
		return result;
	}