日期:2014-05-16 浏览次数:20667 次
InetAddress addr =InetAddress.getLocalHost(); System.out.println(addr.getHostAddress() );