美文网首页
【零碎】localhost:8080 is already in

【零碎】localhost:8080 is already in

作者: acsamson | 来源:发表于2019-05-07 10:18 被阅读0次

对于Ubuntu / Linux

步骤1:找到使用端口8080的进程ID

netstat -lnp | grep 8080
or
ps -aef | grep tomcat

第2步:使用上述结果中的进程ID终止进程

kill -9 process_id

对于Windows

第1步:找到进程ID


windows下
netstat -ano | findstr 8080

步骤2:以管理员身份打开命令提示符并终止该进程

taskkill /F /pid 56664

相关文章

网友评论

      本文标题:【零碎】localhost:8080 is already in

      本文链接:https://www.haomeiwen.com/subject/upgsoqtx.html