lsof (list open files) lsof -i 端口號(hào) (顯示符合條件的進(jìn)程情況) lsof -i:80 #查看80端口的進(jìn)程 根據(jù)查到的pid 使用 kill 殺死該進(jìn)程,釋放端口號(hào)