获取本机IP
InetAddress address = InetAddress.getLocalHost();//获取本地的内网IP地址
String hostAddress = address.getHostAddress();
获取本机IP
InetAddress address = InetAddress.getLocalHost();//获取本地的内网IP地址
String hostAddress = address.getHostAddress();
672
1205

被折叠的 条评论
为什么被折叠?