public final class NetworkUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
findPublicIp() |
static int |
findUnusedPort()
Find an unused port.
|
public static int findUnusedPort()
throws IOException
IOExceptionpublic static String findPublicIp() throws UnknownHostException
UnknownHostExceptionCopyright © 2014–2015. All rights reserved.