zoukankan      html  css  js  c++  java
  • springboot项目启动----8080端口被占用排雷经过

    springboot项目,项目正常启动访问8080端口;前几次都是正常的,今天突入再次运行时突然提示我说8080端口被占用了,这我就不服了,然就就去排查哪里出的问题。

    1.问题报错现象:

    Description:
    
    The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
    
    Action:
    
    Verify the connector’s configuration, identify and stop any process that’s listening on port 8080, or configure this application to listen on another port.

    2.正式开始了排查之路:

    cmd命令进入doc窗口:

    2.1输入 netstat -nao 查看目前使用中的端口信息

     2.2 再次输入命令:  tasklist|findstr "13932"  

    发现java.exe占用着8080端口.结束进程,然后再次启动springboot项目

    项目再次启动失败,提示8080端口被占用,好吧,再次排查,

    然后在任务管理器中把java进程关闭之后,发现后台进程中还有一个java的进程,把后台进程也关闭之后,再次启动项目,好了,没有报错了,这次的锅就是它了。

  • 相关阅读:
    Storyboard里面的几种Segue区别和视图的切换
    2014年12月英语单词
    测试和调试的区别
    黑苹果安装教程(一)
    IOS基础——IOS学习路线图(一)
    遇到Wampserver遇到的问题
    产生不重复的数字
    简单的布局
    2014年8月
    算法小全
  • 原文地址:https://www.cnblogs.com/KdeS/p/13469711.html
Copyright © 2011-2022 走看看