cluster
![[node.js] http](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FpZK0v%2FbtqYZ69ZzgX%2FQu6n1fzTQlFxOyeIJB4XN1%2Fimg.png)
[node.js] http
1. http 서버 http 모듈을 사용하면 node.js를 http서버로서 동작할 수 있도록 구현할 수 있습니다. const http = require('http'); const httpServer = http.createServer((req, res) => { res.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8' }); res.write('Hello'); res.end('Hello Server!'); }); httpServer.listen(80); httpServer.on('listening', () => { console.log('대기중'); }); httpServer.on('error', (err) => { console.error(er..