Solve the problem of port occupation under win, which makes mysql, tomcat and other servers unable to start

Description of the problem: The port is occupied, causing our service to fail to start normally

solve:

  1. Win+r opens the running window and enters cmd to open the small black window
  2. enternetstst -ano|findstr 占用的端口号
    icon
  3. Execute after finding the above pidtaskkill -f /pid 上述命令查询到的pid
    icon
  4. After seeing the success, start it again to successfully start our server

Acho que você gosta

Origin blog.csdn.net/qq_44444470/article/details/124278341
Recomendado
Clasificación