Search code examples
ruby-on-railsrubyspork

Running spork I get the error: Address already in use


I'm assuming it was because the process didn't close properly and so is still running. But using top or ps I can't find it. Is there a way to find where it's running, or to have it force reopen the port?


Solution

  • try sudo netstat -lpn to see what ports are being listened to, and what processes are listening.