取得ip位置

InetAddress myComputer = InetAddress.getLocalHost() ;