當(dāng)前位置:首頁 > IT技術(shù) > 移動平臺 > 正文

Identify and stop the process that‘s listening on port 8080 or configure this application to listen
2021-08-08 15:36:56

異常:

??IDEA發(fā)生閃退,但是閃退之前開著某個服務(wù),重啟IDEA之后,重啟該服務(wù),爆出如下異常:

Identify and stop the process that‘s listening on port 8080 or configure this application to listen_閃退

解決:

??這是因為IDEA閃退前運行的服務(wù)還沒有被關(guān)閉,此時只需要去關(guān)閉之前的服務(wù)然后就可以重啟成功了;

依次執(zhí)行如下操作:

win +R
cmd

示例中我要關(guān)閉的服務(wù)端口為8080

netstat -nao|findstr 8080

Identify and stop the process that‘s listening on port 8080 or configure this application to listen_重啟_02
8080端口對應(yīng)的PID為5044,然后打開自己電腦的”任務(wù)管理器“,找到PID為5044的進程,關(guān)閉該進程就行了
Identify and stop the process that‘s listening on port 8080 or configure this application to listen_java_03

使用以下命令可以查看9456號進程的信息

tasklist|findstr "9456"

Identify and stop the process that‘s listening on port 8080 or configure this application to listen_80端口_04

?

本文摘自 :https://blog.51cto.com/u

開通會員,享受整站包年服務(wù)立即開通 >