Spaces:
Running
Running
File size: 238 Bytes
1e3d9bf |
1 2 3 4 5 6 7 8 |
const http = require('http');
http.createServer((req, res) => {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('<html><body>Lyfe</body></html>');
}).listen(7860, () => {
console.log('Server listening on port 7860');
}); |