OSError: [Errno 98] Address already in use: ('', 8089) code example Example: [Errno 98] Address already in use kill -9 $(ps -A | grep python | awk '{print $1}')