8080端口被占用问题

(1)错误:

Starting Tomcat v7.0 at localhost' has encountered a problem.
Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are 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).

(2)意思:

是tomcat的8080端口被占用了

(3)解决:

1.命令行netstat -ano

显示结果

8080端口被占用问题_第1张图片

可见8080端口确实被占用了,记住最后一类的数字(1600)

2.命令行输入tasklist|findstr "1600"(注:第一个分号前有个空格)


可见我的是javaw.exe占用了8080端口

3.ctrl+shift+esc打开任务管理器,点详细信息

8080端口被占用问题_第2张图片

结束到进程就ok了。

你可能感兴趣的:(web基础)