Error: That port is already in use.

when i try django restarting its showing message :

this port is already running....

this problem specially on ubunut 10.x not all OS.how I might achieve this on the current system that I am working on? can you suggest me?

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

From: stackoverflow.com/q/20239232

Back to homepage or read more recommendations: