Windows- view the port occupation - and kill the process

Description premise:

I am using the IDE to develop Web procedures, IDE strong back - the program continues to run led to the local port is occupied,

Solution:

1. do want to see the interception of the port:

netstat -ano | findstr "8081"

Here Insert Picture Description
2. PID forced to kill the specified service:

taskkill /pid 14396  -t  -f
Published 24 original articles · won praise 42 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_42875895/article/details/104780590