Map internal IP addresses to locations for mobile applications