We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using express. Which port should I specify in the app.js as the port number when using the custom script?
When using default deployment script (i.e. without specifying command in .deployment), I used this config:
command
.deployment
let PORT = process.env.PORT || 80; app.listen(PORT, () => console.log(`listening on port ${PORT}!`));
But when using custom script, this doesn't work. I got error:
remote: Error: listen EACCES 0.0.0.0:80
What should I do? Context that might help.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using express. Which port should I specify in the app.js as the port number when using the custom script?
When using default deployment script (i.e. without specifying
command
in.deployment
), I used this config:But when using custom script, this doesn't work. I got error:
What should I do?
Context that might help.
The text was updated successfully, but these errors were encountered: