InetAddress.getLocalHost
Class Overview | Class Members |
This Package |
All Packages
public static InetAddress getLocalHost() throws UnknownHostException
Returns
the IP address of the local host.
Description
Returns the local host.
Exceptions
UnknownHostException
if no IP address for the
host could be found.