@Test
    public void test() {
        System.out.println(NetUtils.getAvailablePort());

        System.out.println(NetUtils.getIpByHost("127.0.0.1"));

        System.out.println(NetUtils.getLocalAddress());

        System.out.println(NetUtils.getLocalHost());

        System.out.println(NetUtils.getRandomPort());
    }
@author Robert HG (254963746@qq.com) on 7/23/14.
lts-core/src/test/java/com/github/ltsopensource/core/NetUtilsTest.java