Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-increment the port if denied 8080 #239

Open
sdudnic opened this issue Apr 5, 2020 · 1 comment
Open

Auto-increment the port if denied 8080 #239

sdudnic opened this issue Apr 5, 2020 · 1 comment

Comments

@sdudnic
Copy link

sdudnic commented Apr 5, 2020

I started this and fist start I had error

monitoring dir C:\peso\New folder
events.js:288
      throw er; // Unhandled 'error' event
      ^

Error: listen EACCES: permission denied 0.0.0.0:8080
    at Server.setupListenHandle [as _listen2] (net.js:1292:21)
    at listenInCluster (net.js:1357:12)
    at Server.listen (net.js:1445:7)

this is frustrating when you just install this package... Is there a possibility to auto-increment the port if the 8080 is denied?

i know now, after reading doc, that you can change the port, but this is ugly when the application throws errors in blank cases, something should be done about that

@alallier
Copy link
Owner

alallier commented Apr 6, 2020

Yeah that's a good idea, pull requests welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants