最近电脑不知道装了啥,8080端口又被占用了,改端口给个备份
找到tomcat的conf目录 打开server.xml文件
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
把port 值改为8081,就ok了
<Connector port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />