获取项目运行的服务器ip地址

54 阅读1分钟

InetAddress.getLocalHost().getHostAddress()