mac 下tomcat启动报错 unknown host

解决方法:sudo scutil --set HostName localhost

原文地址:https://www.cnblogs.com/yanyd/p/5467853.html