拿到本机ip地址,简单一句话记录一下。
InetAddress.getLocalHost().getHostAddress();
在后台拿到机器ip地址
最新推荐文章于 2021-08-11 22:21:03 发布
拿到本机ip地址,简单一句话记录一下。
InetAddress.getLocalHost().getHostAddress();