Skip to content

Commit f44bc22

Browse files
committed
change default suggest port to 8000
Hello, better is to suggest port 8000, because port 80 requires root access. because: node app.js --silent --port=80 --prod would just hang up, and removing the --silence part will show ```warn: error raised: Error: listen EACCES ```
1 parent 2a8c40a commit f44bc22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*
1717
* The same command-line arguments are supported, e.g.:
18-
* `node app.js --silent --port=80 --prod`
18+
* `node app.js --silent --port=8000 --prod`
1919
*/
2020

2121
// Ensure a "sails" can be located:

0 commit comments

Comments
 (0)