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