vi /etc/hosts 127.0.0.1 iZuf6cu3sus3ygds9nmswzZ
XXX 当前主机名称
添加以后的结果
127.0.0.1 iZuf6cu3sus3ygds9nmswzZ localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
保存成功后,重启tomcat服务