How do I find (and kill) processes that listen to/use my tcp ports? I'm on mac os x.
Sometimes, after a crash or some bug, my rails app is locking port 3000. I can't find it using ps -ef…
Address already in use – bind(2) (Errno::EADDRINUSE)
To complete some of the answers below: After executing the kill commands, deleting the pid file might be necessary