If you are coding in Java, try using InetAddress
InetAddress addr = InetAddress.getByName("173.194.36.37");
String host = addr.getHostName();
System.out.println(host);
More Related Contents:
- Getting the ‘external’ IP address in Java
- How can I interrupt a ServerSocket accept() method?
- Recommended way to get hostname in Java
- Why is it impossible, without attempting I/O, to detect that TCP socket was gracefully closed by peer?
- How to read all of Inputstream in Server Socket JAVA
- Netty vs Apache MINA
- Send HTTP request manually via socket
- Read remote file in java which needs username and password
- Safe use of HttpURLConnection
- java.net.URLEncoder.encode(String) is deprecated, what should I use instead?
- What would cause UDP packets to be dropped when being sent to localhost?
- Sending and receiving files on socket
- Download file from HTTPS server using Java [duplicate]
- I was wondering if anyone can tell me how to understand the bytecode
- Range of linked lists [closed]
- ANTLR: Is there a simple example?
- Failed to resolve com.google.android.gms play-services-auth:11.4.0
- Multiple returns: Which one sets the final return value?
- Why does the toString method in java not seem to work for an array
- How to set selected item of Spinner by value, not by position?
- The following classes could not be instantiated: – android.support.v7.widget.Toolbar
- What is the breakdown for Java’s lambda syntax?
- Is there a way to lower Java heap when not in use?
- Why JScrollPane in JOptionPane not showing all its content?
- a confusion about java String literal pool and String’s concatenation
- Setting custom font
- How can I ensure in Java that the current local time is correct? [duplicate]
- How can I reload properties file in Spring 4 using annotations?
- Getting the last modified date of a file in Java
- How to manipulate arrays. Find the average. Beginner Java