端口号被占用问题

端口号被占用问题,第1张

端口号被占用问题

在eclipse运行项目报以下错误

Several ports (8005, 8080) required by Tomcat v8.5 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).

该错误提示为8005,8080端口号被占用,提示更换端口号。

解决办法:键盘的win+R 打开运行框,输入cmd,在cmd里输入netstat -ano 会显示当前运行的进程的本地地址,PID等,在本地地址中找到8080端口,查看对应PID。打开任务管理器,在详细信息查找那个PID,结束这个进程,再重新运行eclipse程序即可。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5719481.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-18
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存