





















windows 有时候 netstat 可能无法正确显示占用端口的进程
netstat -ano| findstr '30020'
Caused by: java.net.BindException: Address already in use: bind
netstat -ano| findstr '30020' 并没有相关进程;
可以在powershell中使用
Get-Process -Id (Get-NetTCPConnection -LocalPort 30020).OwningProcess

powershell

此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。