windows- port number is occupied

idea as much as a project, but not to shut down operations, directly related to the software, open the idea again, start the project again, and found that the port number is occupied

In linux you want to see an occupancy ports, we can use the ps -ef | grep port numbers to view the port occupancy of a process, then on the windows, how to view it? 

1, open cmd window on the windows, use netstat -aon | findstr "7088" to see where the process port 

2, then use tasklist | findstr "process id" identify the specific programs where the main service 

3, finally using taskkill / f / t / im kill process process name 

Published 21 original articles · won praise 0 · Views 2265

Guess you like

Origin blog.csdn.net/hfaflanf/article/details/103143894