当前位置:   article > 正文

IDEA端口被占用,怎么解决?_idea 2022 top the process that's listening on port

idea 2022 top the process that's listening on port 8888 or configure this ap

问题:IDEA端口被占用,启动项目失败?

失败提示

  1. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.]
  2. [13:43:44.022] [ERROR] [main] [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter] [
  3. ***************************
  4. APPLICATION FAILED TO START
  5. ***************************
  6. Description:
  7. Web server failed to start. Port 8080 was already in use.
  8. Action:
  9. Identify and stop the process that's listening on port 8888 or configure this application to listen on another port.
  10. ]
  11. Process finished with exit code 1

 

解决:

Windos+r输入cmd,打开终端

输入命令: netstat -ano|findstr 8888

发现端口8888被14192进程占用。

输入命令:taskkill -f -pid 11164 杀死进程!!

 

再次启动:

 

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/283251
推荐阅读
相关标签
  

闽ICP备14008679号