public class NetworkUtils extends Object
Constructor and Description |
---|
NetworkUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
findHostAddress() |
static InetAddress |
findLocalAddress() |
public static String findHostAddress() throws SocketException, UnknownHostException
SocketException
UnknownHostException
public static InetAddress findLocalAddress() throws UnknownHostException, SocketException
UnknownHostException
SocketException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.