Identify and stop the process that‘s listening on port 8090 or configure this application to listen

编程入门 行业动态 更新时间:2024-10-08 02:25:47

Identify and stop the <a href=https://www.elefans.com/category/jswz/34/1770902.html style=process that‘s listening on port 8090 or configure this application to listen"/>

Identify and stop the process that‘s listening on port 8090 or configure this application to listen

文章目录

    • 前言
    • 解决方案

前言

  1. 老项目升级,按文档在五台机器组成的集群上重新部署,三台部署完毕,两台报错,查了log,有点懵逼,没启动成功。。。。

    16:58:46.740 [restartedMain] INFO  sys-user - [shutdownAsyncManager,31] - ====关闭后台任务任务线程池====
    17:28:25.693 [Thread-14] INFO  sys-user - [shutdownAsyncManager,31] - ====关闭后台任务任务线程池====
    17:28:48.863 [restartedMain] INFO  sys-user - [shutdownAsyncManager,31] - ====关闭后台任务任务线程池====
    11:20:00.586 [restartedMain] INFO  sys-user - [shutdownAsyncManager,31] - ====关闭后台任务任务线程池====
    
  2. 又查了这个时间点的启动记录,报错:Identify and stop the process that's listening on port xxx or configure this application to listen on another port.,翻译为:识别并停止在端口xxxx上侦听的进程,或将此应用程序配置为在另一个端口上侦听。

  3. 找到原因,冲突了呗,后来经排查,最近老项目升级,端口被占用了

解决方案

  1. 更换下端口
>netstat -ano | findstr 8090TCP    0.0.0.0:8090           0.0.0.0:0              LISTENING       18568TCP    [::]:8090              [::]:0                 LISTENING       18568>taskkill /F /PID 18568
>netstat -ano | findstr 8090

更多推荐

Identify and stop the process that‘s listening on port 8090 or configure this ap

本文发布于:2024-02-28 09:29:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1768762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:process   listening   Identify   stop   port

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!