linux to locate and kill the occupied port number process

  • Positioning process
	lsof -i:端口号
  • According to the process ID to kill the process
	kill -9 进程ID
  • Sudo add enough authority
Published 49 original articles · won praise 29 · views 1875

Guess you like

Origin blog.csdn.net/Brannua/article/details/105043079