------解决方案-------------------- www.163.com/183.60.136.64 /127.0.0.1 BS-PC-389/192.168.40.95 域名:BS-PC-389 IP:192.168.40.95
------解决方案-------------------- //Get an instance of InetAddress for the IP address InetAddress inetAddress = InetAddress.getByName("208.29.194.106");
//Get the host name String ipAddress = inetAddress.getHostName();
//Print the host name System.out.println(ipAddress);
------解决方案-------------------- 楼上这个不行: 208.29.194.106
------解决方案--------------------