获取IP地址

获取本机IPhtml InetAddress address = InetAddress.getLocalHost();//获取本地的内网IP地址 String hostAddress = address.getHostAddress();
相关文章
相关标签/搜索