解决Eclipse强制关闭后,8080端口占用的问题

WBOY
Release: 2016-07-25 08:56:36
Original
1704 people have browsed it
本文介绍下,在Eclipse强制关闭后,8080端口占用问题的解决方法,有需要的朋友参考下吧。

Eclipse占用机器的内存都很大,由于某种未知的情况Eclipse突然死掉了,此时只好kill掉Eclipse这个进程后,然后重启。 这样做的话,当再一次启动Eclipse中的tomcat服务器时不能正常启动。

原因:8080端口被占用了。

解决方法:

第一种方法:重新启动机器,也就是通常所说的傻瓜级的操作;

第二种方法:

第一步,首先查看占用8080端口的进程的PID。在windows的cmd窗口中键入如下的命令: netstat -ona > e:\target.txt //输出详细信息到文件target.txt中

第二步,在target.txt中查找与8080端口对应的PID值

第三步,输入如下的命令将这个进程kill掉 TASKKILL /F /PID {与8080端口对应的进程的PID号}



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!