出错场景:
在Linux下面搞了四个tomcat,分别为tomcat0,tomcat1,tomcat2,tomcat3,把它们访问的端口改成8080,8081,8082,8083,按照顺序启动,只有tomcat0端口可以访问
出错原因:
tomcat/conf/server.xml中Server标签中端口冲突
解决方法:
修改端口
tomcat0:<Server port="8005" shutdown="SHUTDOWN">
tomcat1:<Server port="18005" shutdown="SHUTDOWN">
tomcat2:<Server port="28005" shutdown="SHUTDOWN">
tomcat3:<Server port="38005" shutdown="SHUTDOWN">
完成