Skip to content
Browse files

[fix] helloworld starter listens on port 8000 instead of 80 for ease …

…of use locally. Thanks @erock!
  • Loading branch information...
1 parent f0627bd commit d18f7c44c7fc71b8f0c8d14bc90fb2dba90dbc16 @Marak Marak committed Aug 26, 2011
Showing with 4 additions and 2 deletions.
  1. +1 −1 package.json
  2. +3 −1 starters/helloworld/server.js
View
2 package.json
@@ -8,7 +8,7 @@
"platform-as-a-service",
"deployment"
],
- "version": "0.4.91",
+ "version": "0.4.92",
"author": "Nodejitsu Inc. <support@nodejitsu.com>",
"repository": {
"type": "git",
View
4 starters/helloworld/server.js
@@ -4,4 +4,6 @@ var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('<h1>I know Nodejitsu!</h1>');
-}).listen(80);
+}).listen(8000);
+
+console.log('http server running on port 8000');

0 comments on commit d18f7c4

Please sign in to comment.
Something went wrong with that request. Please try again.