Do not use dns for ip address resolution, otherwise the app crashes.