6a
var http = require('http');
http.createServer((req, res) => {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('Server is connected.');
}).listen(3000);
console.log("Server started... Running on localhost:3000");
var http = require('http');
http.createServer((req, res) => {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('Server is connected.');
}).listen(3000);
console.log("Server started... Running on localhost:3000");