And yet, it checks a port, because as the screenshot shows it will not start unless it can get the default one.
I fixed this just a minute ago by changing the main process to port 5679, the worker process appears to be getting that default 5678 from somewhere and it will not start if another process is using that port.
Weird, using docker I simply don’t expose the ports on workers and it never is an issue. No idea why NPM install would work like this.
Also I do recommend using Docker over NPM.
Not using docker, I just installed the package globally from NPM, seemed simple enough to just have two users (one user for the main process, other users for workers) each with their own systemd user-level init.
That works fine, but for the worker getting a hard-coded port from somewhere.