http3001.js 263 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 var http = require('http'); http.createServer(function(req,res){ res.writeHead(200,{'Content-Type':'text/plain'}); res.end('Hello Node.js ss\n'+req.url+'--port 3001'); }).listen(3001,function(){ console.log('NodeJS Server running at 3001'); });