Mac 关闭被占用的端口
2019-07-13 本文已影响0人
思考的虫子
- Open Terminal.
- Run the command with the port used : example :
lsof -i :<port_number>
Now kill the process by running the following command :
kill -9 <PID>
image.png
lsof -i :<port_number>
Now kill the process by running the following command :
kill -9 <PID>
image.png