HTTP Web Server
const server = require('http')
const SERVER_PORT = process.argv[2] || 8000
server.createServer(function (req, res) {
res.writeHead(200, {'content-type': 'text/plain'});
res.end("Hello, World\n");
}).listen(SERVER_PORT);
console.log(`\x1b[33m Running on localhost:${SERVER_PORT}\x1b[0m`);
TCP Server