* get local ip for all platforms