Created
August 28, 2014 07:28
-
-
Save soyuka/5a4ab8adf3db528f9bba to your computer and use it in GitHub Desktop.
Test pm2 #659
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
http.createServer(function(req, res) { | |
res.writeHead(200); | |
res.end("hello world\n"); | |
}).listen(8020); | |
http.createServer(function(req, res) { | |
res.writeHead(200); | |
res.end("hello world\n"); | |
}).listen(8021); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment