node js를 공부하기 앞 서
서버를 담당하는 사람은 기본적으로 클라이언트가 주소를 요청할 때, 서버 아래의 내부 서버를 적절하게 연결하는 업무를 담당.
port는 0~65535까지 존재
port는 결론적으로 해당 서버로 연결된 문이며, 해당 서버는 port를 listening 하고있음.

실행방법
const port = 1337;
http
.createServer((req, res) => {
res.writeHead(200, { "Content-Type": "text/plain" });
res.end("Hello World\n");
})
.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});
listen 함수 = listen(port, host, connection, callback)이며, connection은 동시에 접속할 수 있는 클라이언트 수 제한을 뜻한다.
npm(node package manager)
npm은 파이썬의 pip과도 비슷하게 외부 모듈을 설치시켜준다.
예를 들어, undersocre 모듈 설치를 위해서는 npm install underscore 명령어 실행.
(underscore는 배열을 좀 더 심화적으로 다루게 해줌 -> numpy와 비슷한듯..)
설치된 모듈은 require('underscore')로 가져오면 된다.