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

Error: listen EACCES 0.0.0.0:80 #2

Closed
bbrinx opened this issue Jul 10, 2017 · 1 comment
Closed

Error: listen EACCES 0.0.0.0:80 #2

bbrinx opened this issue Jul 10, 2017 · 1 comment

Comments

@bbrinx
Copy link

bbrinx commented Jul 10, 2017

After installing the dependencies successfully, running yarn start results in an error. It compiled the client and server successfully, but then suddenly fails at events.js:182

Error: listen EACCES 0.0.0.0:80
    at Object.exports._errnoException (util.js:1016:11)
    at exports._exceptionWithHostPort (util.js:1039:20)
    at Server.setupListenHandle [as _listen2] (net.js:1290:19)
    at listenInCluster (net.js:1355:12)
    at Server.listen (net.js:1455:7)
    at Function.listen (/mypath/razzle-material-ui-styled-example-master/node_modules/express/lib/application.js:618:24)
    at Object../src/index.js (/mypath/razzle-material-ui-styled-example-master/build/server.js:219:4)
    at __webpack_require__ (/mypath/razzle-material-ui-styled-example-master/build/server.js:20:30)
    at Object.15 (/mypath/razzle-material-ui-styled-example-master/build/server.js:329:18)
    at __webpack_require__ (/mypath/razzle-material-ui-styled-example-master/build/server.js:20:30)

error Command failed with exit code 1.
@kireerik
Copy link
Owner

Hi @bbrinx, may I ask you what kind of environment are you using? It is possible that something else is already running on port 80 on your system or you may need root permission to run the application on port 80. You can change the port here (you may remove that line, because the default port is 3000).

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