Often, when restarting Django runserver, if I use the same port number, I get a 'port is already in use' message. Subsequently, I need to increment the port number each time to avoid this.
It's not the case on all servers, however, so I'm wondering how I might achieve this on the current system that I'm working on?
BTW, the platform is Ubuntu 8.10
how to kill port 8000
yet this applied to me as well. By changing the title and making the scope more general, we could prevent some redundant questions later. – JGallardosudo fuser -k 8001/tcp
– hassanzadeh.sd