'Node error EADDRINUSE but port is not used

Hello I have strange problem, Node keep throwing an error:

Error: listen EADDRINUSE: address already in use 0.0.0.0:44604

but this port is free. I have used several linux commands and also npx kill-port.

I know how to list of node process and how to find specific pid on linux. Im sure this port is free. Im very confused rn.

Also cleaned .js file to very basic node server without express and other libs. Still got the same error.

Also im using pm2 with few node apps and this problem with ports occurs on random app with random ports. But in this case i cannot use other port then 44604.

Maybe anyone faced the same issue and can help me?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source