差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
20220506_forever [2022/05/06 11:37] – 133.11.144.12 | 20220506_forever [Unknown date] (現在) – 削除 - 外部編集 (Unknown date) 127.0.0.1 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Hyper-V test env. setting ====== | ||
- | Install development tools, nodejs, npm | ||
- | [sudo] npm install forever -g | ||
- | |||
- | start program | ||
- | forever start --workingDir / | ||
- | | ||
- | Stop program | ||
- | forever list | ||
- | forever stop [order] | ||
- | lsof -i:3004 | ||
- | kill [pid] | ||
- | |||
- | //After running ```forever stop```, the reason why ```forever start``` does not run normally is that even if the forever project is stopped, the port is still occupied, you can see the pid of the occupied project by using ```losf -i:3004```, and after killing it, ```forever start``` can go smoothly.// | ||
- | | ||
- | Remove firewall | ||
- | sudo systemctl stop firewalld | ||
- | |