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