Retrieves the local IP address and sending on the internet.