Ubuntu 16.04修改hosts

IntelliJ IDE运行Tomcat报错解决办法的相关资料,出现“Unable to ping server at localhost:1099”错误解决方法,需要的朋友可以参考下

sudo gedit /etc/hosts