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

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ā)生閃退,但是閃退之前開(kāi)著某個(gè)服務(wù),重啟IDEA之后,重啟該服務(wù),爆出如下異常:

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

解決:

??這是因?yàn)镮DEA閃退前運(yùn)行的服務(wù)還沒(méi)有被關(guān)閉,此時(shí)只需要去關(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端口對(duì)應(yīng)的PID為5044,然后打開(kāi)自己電腦的”任務(wù)管理器“,找到PID為5044的進(jìn)程,關(guān)閉該進(jìn)程就行了
Identify and stop the process that‘s listening on port 8080 or configure this application to listen_java_03

使用以下命令可以查看9456號(hào)進(jìn)程的信息

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

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