AlexaCookie constant restart
Opened this issue · 0 comments
I followed the directions. I am running on an rPi 4. Starting the app via PM2 seems to work, but the webpage is inaccessible. Starting with no-daemon shows the following:
14:37:48 PM2 | App [AlexaCookie:0] exited with code [1] via signal [SIGINT]
14:37:48 PM2 | App [AlexaCookie:0] starting in -fork mode-
14:37:48 PM2 | App [AlexaCookie:0] online
14:37:48 1|AlexaCookie | Error: listen EACCES: permission denied 0.0.0.0:101
14:37:48 1|AlexaCookie | at Server.setupListenHandle [as _listen2] (net.js:1301:21)
14:37:48 1|AlexaCookie | at listenInCluster (net.js:1366:12)
14:37:48 1|AlexaCookie | at Server.listen (net.js:1452:7)
14:37:48 1|AlexaCookie | at Object. (/home/pi/AlexaCookieNodeJs/AlexaCookie.js:260:8)
14:37:48 1|AlexaCookie | at Module._compile (internal/modules/cjs/loader.js:1063:30)
14:37:48 1|AlexaCookie | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
14:37:48 1|AlexaCookie | at Module.load (internal/modules/cjs/loader.js:928:32)
14:37:48 1|AlexaCookie | at Function.Module._load (internal/modules/cjs/loader.js:769:14)
14:37:48 1|AlexaCookie | at Object. (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23)
14:37:48 1|AlexaCookie | at Module._compile (internal/modules/cjs/loader.js:1063:30) {
14:37:48 1|AlexaCookie | code: 'EACCES',
14:37:48 1|AlexaCookie | errno: -13,
14:37:48 1|AlexaCookie | syscall: 'listen',
14:37:48 1|AlexaCookie | address: '0.0.0.0',
14:37:48 1|AlexaCookie | port: 8081
14:37:48 1|AlexaCookie | }