{I+=codeWee;}
[node.js] node.js : Create Server
var http = require('http');

var app = http.createServer(function(req, res){

	res.writeHead(200);
	res.end("Hello Node.js!");

});


app.listen(80, function(){
	console.log('Server started!');
});
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.