var http = require("http");
var server = http.createServer(function(request, response) {
response.writeHead(200, {"Content-Type": "text/html"});
response.end('Hello You');
}).listen(8888);

- Log in to post comments
Tags
var http = require("http");
var server = http.createServer(function(request, response) {
response.writeHead(200, {"Content-Type": "text/html"});
response.end('Hello You');
}).listen(8888);

Copyright 2018· All rights reserved