I installed redis this afternoon and it caused a few errors, so I uninstalled it but this error is persisting when I launch the app with foreman start
. Any ideas on a fix?
foreman start
22:46:26 web.1 | started with pid 1727
22:46:26 web.1 | 2013-05-25 22:46:26 [1727] [INFO] Starting gunicorn 0.17.4
22:46:26 web.1 | 2013-05-25 22:46:26 [1727] [ERROR] Connection in use: ('0.0.0.0', 5000)
Just type
sudo fuser -k 5000/tcp
.This will kill all process associated with port 5000
This should do the trick for you:
kill -9 $(lsof -i:5000 -t) 2> /dev/null
where 5000 is the port you want to kill
Check your processes. You may have had an unclean exit, leaving a zombie'd process behind that's still running.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With