Windows7のタスクマネージャには1つのノードプロセスしかありません。驚き。 nodejsがこれを達成する方法と、違いのプロセスでサーバーを分割するとどういう違いがありますか?ありがとう。1つのプロセスで2つ以上のhttpサーバ(ポートが異なる)を実行できます。
http.createServer(function(req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World');
}).listen(5000, '127.0.0.1');
http.createServer(function(req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World2');
}).listen(5001, '127.0.0.1');
http.createServer(function(req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World3');
}).listen(5002, '127.0.0.1');