纯html本地起服务 乌拉那拉丹 2025-10-09 20 阅读1分钟 1. 全局安装npm install -g http-server 2. cd xx/xxx/xx http-server -p 1337 -a 10.100.23.111 --cors // 1337: 端口号, 10.100.23.123: ip 4. 直接10.100.23.123:1337/index.html 访问