try { InetAddress ia = InetAddress.getByName("208.201.239.37"); System.out.println(ia.getHostName()); } catch (Exception ex) { System.err.println(ex); }