欢迎光临
我们一直在努力

Keep Nodejs Program Running after Closing SSH

I happened to find that although my Nodejs program can run normally when I started it through SSH. If I close the SSH connection, then I can no longer visit corresponding frontend file through my browser. Oh my god, the program was closed automatically the time I closed the SSH connection. Here is the solution to the problem:

Note that the command “npm run start” is the command to start my Nodejs program, it may differ from your program, and if so, you should replace the command “npm run start” with your program-starting command.

赞(0) 打赏(金额可任意指定)
未经允许不得转载:峰间的云 » Keep Nodejs Program Running after Closing SSH
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

上海宝山顾村棉被加工店 专业加工新旧棉被

查看详情了解一下

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏