快速解决tomcat占用8080端口问题

原文:http://jingyan.baidu.com/article/1612d5006c3cdae20e1eee04.html

相信很多朋友都遇到过这样的问题吧,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. 1、在dos下,输入  netstat   -ano|findstr  8080 

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

    显示占用端口的进程

  2. 2、taskkill  /pid  6856  /f 

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

    下面有图为证

          

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

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


猜你喜欢

转载自blog.csdn.net/qq_24309787/article/details/77479869