windows解决端口占用问题

1、查看当前端口占用情况

netstat -anno | findstr :502

 上图 得知当前占用502 端口的程序ID是22816

2、查看程序

 3、关闭程序(cmd需要管理员打开)

taskkill /PID 22816 /F

 

 

posted on 2024-03-18 19:21  金宝的博客  阅读(237)  评论(0)    收藏  举报

导航