2020年4月17日金曜日

端口被占调查

问题

   ideas突然死掉了,再启动后开启内置服务器,提示8080端口被占用.

对策

    通过命令行【window cmd】:
  C:\windows\system32>netstat -noa | find "8080"
  TCP         0.0.0.0:8080           0.0.0.0:0              LISTENING       11584
  TCP         [::]:8080              [::]:0                 LISTENING       11584

其中的11584是PID,通过任务管理器确认,11584是Java虚拟机,干掉它。
TASKKILL /PID 11584
在启动服务器OK。

备注

端口确认命令:
cmd        : netstat -noa | find "8080"
bash       : net -nao | grep "8080"
PowerShell: net -nao | select-string "8080" 

ITIL4 Foundation Study Guide 2 : 4 Dimensions and 6 Factors

4  Dimensions:  Dimension1: Organizations & People Dimension2: Information & Technology Dimension3: Partners & Suppliers D...