idea启动报错:端口占用
The port may already be in use or the connector may be misconfigured
mac端口占用解决
zhangshuaideMacBook-Pro:~ zhangshuai$ lsof -i:8095
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Google 375 zhangshuai 32u IPv6 0x726da2a1cd026eef 0t0 TCP localhost:63819->localhost:8095 (CLOSE_WAIT)
zhangshuaideMacBook-Pro:~ zhangshuai$ kill 375
zhangshuaideMacBook-Pro:~ zhangshuai$ lsof -i:8095
zhangshuaideMacBook-Pro:~ zhangshuai$
windows 端口占用解决
比如是8083被占用了
第一步:netstat -ano|findstr 8083,查到进程号25808
第二部:taskkill /f /t /im 25808,直接干掉