Port 8080 required by Tomcat v7.0 Server at localhost is already in use.

Port 8080 required by Tomcat v7.0 Server at localhost is already in use. The

server may already be running in another process, or a system process may be

using the port. To start this server you will need to stop the other process or

change the port number(s).

在这里插入图片描述
解决方法:

1、首先打开你的cmd命令(电脑按住win+R键,然后输入cmd),然后在命令行

里输入netstat -ano|findstr 8080.(看哪个端口被占用就输入哪个端口号,我的报错

显示是8080端口)

在这里插入图片描述

2、在资源管理器(Ctrl+Alt+delete键)中点击详细信息找到PID码为7360的进

程,结束进程。

在这里插入图片描述

然后在启动Tomcat就不会报此错误了。

发布了43 篇原创文章 · 获赞 15 · 访问量 5916
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章