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
文章目录
- 前言
- 解决方案
前言
-
老项目升级,按文档在五台机器组成的集群上重新部署,三台部署完毕,两台报错,查了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] - ====关闭后台任务任务线程池====
-
又查了这个时间点的启动记录,报错:
Identify and stop the process that's listening on port xxx or configure this application to listen on another port.
,翻译为:识别并停止在端口xxxx上侦听的进程,或将此应用程序配置为在另一个端口上侦听。 -
找到原因,冲突了呗,后来经排查,最近老项目升级,端口被占用了
解决方案
- 更换下端口
>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
发布评论