Simply call InetAddress.getByName(String host) passing in your textual IP address.
From the javadoc: The host name can either be a machine name, such as “java.sun.com”, or a textual representation of its IP address.
InetAddress javadoc
Simply call InetAddress.getByName(String host) passing in your textual IP address.
From the javadoc: The host name can either be a machine name, such as “java.sun.com”, or a textual representation of its IP address.
InetAddress javadoc