Skip to content

Commit

Permalink
[fix] helloworld starter listens on port 8000 instead of 80 for ease …
Browse files Browse the repository at this point in the history
…of use locally. Thanks @erock!
  • Loading branch information
Marak committed Aug 26, 2011
1 parent f0627bd commit d18f7c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"platform-as-a-service", "platform-as-a-service",
"deployment" "deployment"
], ],
"version": "0.4.91", "version": "0.4.92",
"author": "Nodejitsu Inc. <support@nodejitsu.com>", "author": "Nodejitsu Inc. <support@nodejitsu.com>",
"repository": { "repository": {
"type": "git", "type": "git",
Expand Down
4 changes: 3 additions & 1 deletion starters/helloworld/server.js
Expand Up @@ -4,4 +4,6 @@ var http = require('http');
http.createServer(function (req, res) { http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'}); res.writeHead(200, {'Content-Type': 'text/html'});
res.end('<h1>I know Nodejitsu!</h1>'); 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.