原文:http://stackoverflow.com/questions/20239232/error-that-port-is-already-in-use
A more simple solution just type sudo fuser -k 8000/tcp
. This should kill all the processes associated with port 8000.
EDIT:
For osx users you can use sudo lsof -t -i tcp:8000 | xargs kill -9
时间: 2024-12-23 02:42:06