Question: 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)

```

Answer: 
After some searching on the web, it looks like the following command is the best to use. This kills all of the processes running on port 5000 and appeared to work for me:

```
kill `lsof -i :5000`

```

[Source (although a bit more shady than I prefer)](http://www.itgo.me/a/1898019484748814608/heroku-local-web-doesnt-work-because-of-gunicorn-connection-in-use)
Find the orphaned process:

```
ps -ax |grep gunicorn

11111 ?? 0:03.44 /usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python /usr/local/bin/gunicorn -b :5000 main:app

```

Locate the Process ID (the number in the first column of the results)

```
kill 11111

```

*Replace 11111 with the Process ID*