在win10上用forever start server.js无法启动服务
来源:3-3 【来点实战】最简单的http服务

慕慕1545788
2020-05-18
在win10上安装了新版的node.js 安装了forever,在终端运行了指令,无法启动服务如图:
输入netstat -a查看服务运行状态:
服务没有启动。
在浏览器上输入 localhost:8080 显示不出来信息。
但是如果用node server.js的话就能创建成功,在浏览器上输入 localhost:8080也能显示出Hello world。
写回答
1回答
-
李超
2020-05-18
forever 应该只能在类linux 系统下执行
00
相似问题