Use InetAddress to get host address(IP) and host name(eg:www.google.com)