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
More Related Contents:
- Django add brackets to django models field
- How to override and extend basic Django admin templates?
- How can I build multiple submit buttons django form?
- OperationalError: database is locked
- How do you log server errors on django sites
- Install mysql-python (Windows)
- Default filter in Django admin
- multiple databases and multiple models in django
- Creating a list of dictionaries with same keys? [duplicate]
- Django gives Bad Request (400) when DEBUG = False
- Can’t install psycopg2 with pip in virtualenv on Mac OS X 10.7
- Django — Can’t get static CSS files to load
- django 1.4 how to automatically get user’s timezone from client
- How do I create a slug in Django?
- Direct assignment to the forward side of a many-to-many set is prohibited. Use emails_for_help.set() instead
- Django: Calculate the Sum of the column values through query
- How to disable Django’s CSRF validation?
- UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd1 in position 2: ordinal not in range(128)
- UnicodeDecodeError : ‘ascii’ codec can’t decode byte 0xe0 in position 0: ordinal not in range(128)
- How to update an existing Conda environment with a .yml file
- Accessing the user’s request in a post_save signal
- How to do many-to-many Django query to find book with 2 given authors?
- Dynamically creating classes – Python
- What is the difference between static files and media files in Django?
- How can I set two primary key fields for my models in Django?
- Django 1.9 ImportError for import_module
- PyCharm hangs on ‘scanning files to index’ background task
- How to redirect from a view to another view In Django
- Static media images are not displaying in Django
- How to delete a record in Django models?