How to close the dos command when the port is occupied

  1. Use netstat-aon|findser "port number"          to view the port number occupied by which application process number
  2. Use tasklist|findstr "application process number"   to view the application with the process number, then you can use the application manager or dos command to close
  3. Kill the process with taskkill /pid process                   ID

For example, to solve the problem that port "8090" is occupied, see the figure below

Then other programs can use this port

If you like it, you can give it a thumbs up. Thank you! !

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326310444&siteId=291194637