another way to get the local IP