首页 > 其他分享 >端口冲突的解决办法

端口冲突的解决办法

时间:2022-10-16 15:56:02浏览次数:80  
标签:解决办法 netstat findstr PID 端口 冲突 grep taskkill

问题与解决

Address already in use

Centos8

  • netstat -apn | grep
  • ps -ef | grep 8000
  • kill -9 PID
  • setsockopt

Windows

  • 查看指定端口netstat -aon | findstr “8001”
  • 删除端口taskkill /F /PID 123
  • 查看PID对应的进程 tasklist|findstr 8908
  • 结束进程taskkill /f /t /im redis-server.exe

标签:解决办法,netstat,findstr,PID,端口,冲突,grep,taskkill
From: https://www.cnblogs.com/starc/p/16796351.html

相关文章