socket.error: [Errno 48] Address already in use

I’m trying to set up a server with python from mac terminal.

I navigate to folder location an use:

python -m SimpleHTTPServer

But this gives me error:

socket.error: [Errno 48] Address already in use

I had previously open a connection using the same command
for a different website in a different location in my machine.

14 Answers
14

Leave a Comment