InetAddress.getByName(ip)
    类似于Ping
    IndexAddress.getLocalHost();
    获取本机
    image.png