Issue
Restarting the Django server displays the following error:
this port is already running....
This problem occurs specifically on Ubuntu and not other operating systems. How can I free up the port to restart the server?
Solution
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
Answered By - Mounir
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.