Using InetAddress.fromName() is not ideal as it might result in a DNS resolution, which causes an exception if we do it from the main thread.
Using InetAddress.fromName() is not ideal as it might result in a DNS resolution, which causes an exception if we do it from the main thread.