15.1.2IP地址(续) ava 本机回路的IP地址 127.0.0.1 localhost InetAddress对象保存网络中计算机的主机名 和IP地址,它可以通过下述静态方法生成: getByName ( getLocalHost ( getByAddress( getAllByName (15.1.2 IP地址(续) 本机回路的IP地址: – 127.0.0.1 – localhost InetAddress对象保存网络中计算机的主机名 和IP地址,它可以通过下述静态方法生成: – getByName() – getLocalHost() – getByAddress() – getAllByName()