Solve the problem of port occupation under win, which makes mysql, tomcat and other servers unable to start
Enterprise
2023-09-07 01:03:16
views: null
Description of the problem: The port is occupied, causing our service to fail to start normally
solve:
- Win+r opens the running window and enters cmd to open the small black window
- enter
netstst -ano|findstr 占用的端口号
- Execute after finding the above pid
taskkill -f /pid 上述命令查询到的pid
- After seeing the success, start it again to successfully start our server
Origin blog.csdn.net/qq_44444470/article/details/124278341