1. Python3 http.server # 端口可选(默认8000) python -m http.server [8080] 2. Node.js http-server # 安装 npm install -g http-server # 运行 http-server