修改以上两处就可以了如果想让某些ip访问的话:https://www.cnblogs.com/diruodaichang/p/11145159.html
配置tomcat让其他人访问
原文:https://www.cnblogs.com/diruodaichang/p/11145421.html