System.out.println(InetAddress.getLocalHost().getHostAddress());
request.getServerName()
难道你在虚拟机里面写程序?