安装Tomcat 端口被占用
在windows命令行窗口下执行:
C:\>netstat -aon|findstr "8080" TCP??? 回车
?
127.0.0.1:8080???????? 0.0.0.0:0????????????? LISTENING?????? 2016
端口被进程号为2016的进程占用,继续执行下面命令:
?
C:\>tasklist|findstr "2016"
?
tomcat.exe???????????????????? 2016 Console???????????????? 0???? 16,064 K
?
tomcat占用了你的端口