import http from 'http'; const server = http.createServer((req, res) => { res.writeHead(200, { 'Content-Type': 'text/html' }); res.end('KING HAKI'); }); const PORT = 7860; server.listen(PORT, () => { console.log(`Server listening on port ${PORT}`); });