我正在尝试从mac终端设置一个带python的服务器.
我导航到文件夹位置使用:
python -m SimpleHTTPServer
但这给了我错误:
socket.error: [Errno 48] Address already in use
我以前使用相同的命令为我机器中不同位置的不同网站打开连接.
python macos simplehttpserver
macos ×1
python ×1
simplehttpserver ×1