in run_simple s.bind(server_address) OSError: [Errno 98] Address already in use code example
Example 1: OSError: [Errno 98] Address already in use
$ ps -fA | grep python
501 81211 12368 0 10:11PM ttys000 0:03.12
python -m SimpleHTTPServer
$ kill 81211
Example 2: OSError: [Errno 98] Address already in use
kill -9 $(ps -A | grep python | awk '{print $1}')