0

I installed a new application on my webfaction server and when I try to run it using node app or npm start I get this error:

Error: listen EADDRINUSE :::15120

Even though this particular port is free and nothing is running there. I have another node.js app running using pm2 on a different port.

How can I avoid this error coming up?

Doesn't happen on my local server.

Thanks!

Aerodynamika
  • 7,883
  • 16
  • 78
  • 137
  • Possible duplicate of [How to fix Error: listen EADDRINUSE while using nodejs?](https://stackoverflow.com/questions/9898372/how-to-fix-error-listen-eaddrinuse-while-using-nodejs) – user2263572 Sep 08 '19 at 13:37
  • Are you sure that this port is free? Try to inspect it with netstat -plnt and check if it really is. – Lucas Meine Sep 08 '19 at 13:48
  • the port is not free at all, can you check it using this command and see the associated pid? sudo lsof -i :15120 – Jose Mato Sep 08 '19 at 18:52

0 Answers0