HOW DO I CONVERT A NUMERIC IP ADDRESS LIKE 192.18.97.39 INTO A HOSTNAME?

Awadhendra Tiwari

Total Post:510

Points:2550
Posted by  Awadhendra Tiwari
Java 
 1108  View(s)
Ratings:
Rate this:
  1. Awadhendra Tiwari

    Post:510

    Points:2550
    How do I convert a numeric IP address like 192.18.97.39 into a hostname?

    String hostname = InetAddress.getByName("192.18.97.39").getHostName

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!