Port 8080 required by agent is already in use in tomcat startup error in eclipse

Original blog: http://blog.csdn.net/cryhelyxx/article/details/17919897

1.CTRL + R-Open "Run"

2. Enter "cmd" in the "Run" pop-up DOS command line window 
3. If I want to check the port "8080", then enter the command: netstat -aon | findstr "8080" 

4. As above, got the process number "4060" ", And then enter the command: tasklist | findstr" 4060 ", got the process image name, well, next we will solve the problem of port number occupation, is to kill the process of the process image name. 
5. CTRL + ALT + delete pops up the task manager, find the process named "javaw.exe", click on it, and kill it (end process). 

6. Enter the command under DOS to check whether the port is still occupied:
     netstat -aon|findstr "8080"
7. It can be seen that no process is occupying the port anymore, OK, the process occupying the port is killed, then the port occupation has been resolved.


annex:
netstat :https://www.cnblogs.com/xieshengsen/p/6618993.html
findstr : http://blog.csdn.net/tianxudong2004/article/details/2126853
taskList :http://blog.csdn.net/ztsstz/article/details/28324?utm_source=jiancool


发布了64 篇原创文章 · 获赞 9 · 访问量 11万+

Guess you like

Origin blog.csdn.net/eadela/article/details/79279725