怎么解决tomcat占用8080端口问题

怎么解决tomcat占用8080端口问题

相信很多朋友都遇到过这样的问题吧,tomcat死机了,重启eclipse之后,发现Several ports (8080, 8009) required by Tomcat v6.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).

是不是很多人教你重启电脑呢,下面教大家一个不用重启计算机 的方法。

此方法也可以解决,windows上如何结束进程的详细过程,下面附详细,图文说明

  1. 在dos下,输入  netstat   -ano|findstr  8080 

    //说明:查看占用8080端口的进程

    显示占用端口的进程

  2. taskkill  /pid  6856  /f 

    //说明,运行windows自带taskkill命令,将上面显示的进程号,结束掉。

    下面有图为证

怎么解决tomcat占用8080端口问题图文教程,到此结束,希望对大家有所帮助。祝大家,工作愉快,不用重启计算机了,次方法也可以解决其他类似问题,在编程当中对大家的困扰。

此方法也可以解决,windows上如何结束进程的详细过程。祝大家编程愉快。

原文地址:https://www.cnblogs.com/henuyuxiang/p/6674721.html