'An attempt was made to access a file in a way forbidden by its file access permissions

I am run my nodejs with node app.js, get following error:

 listen EACCES: permission denied 8080
  code: 'EACCES',
  errno: -4092,
  syscall: 'listen',
  address: '8080;',
  port: -1

this means (Permission denied): An attempt was made to access a file in a way forbidden by its file access permissions.

how to resolve problem?



Sources

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

Source: Stack Overflow

Solution Source