Get IP Address of Host Name or Website – Java Example

Networking

This example shows how to find the IP address of any hostname or a website. Below Java code uses getByName method from InetAddress class to resolve IP Address of given domain or host name.

Share This Post On: