[Errno 98] Adresse déjà utilisée
kill -9 $(ps -A | grep python | awk '{print $1}')
Better Buzzard
kill -9 $(ps -A | grep python | awk '{print $1}')
$ ps -fA | grep python
501 81211 12368 0 10:11PM ttys000 0:03.12
python -m SimpleHTTPServer
$ kill 81211
kill -9 $(ps -A | grep python | awk '{print $1}')
#We can set the following to overcome the "Address already in use" that we hit often while building our programs:
#This modifies the socket to allow us to reuse the address.
>>>server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)