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

Awadhendra Tiwari

Total Post:505

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

    Post:505

    Points:2525
    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!