Application Server was not connected before run configuration stop, reason:Unable to ping server at localhost:1099

错误信息:

mac IntelliJ IDEA启动tomcat报:Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099

解决方案:

/etc/hosts 中添加127.0.0.1 localhost 计算机名