포트 포워딩이란?
포트를 전달한다. Port란? port는 단어 뜻 그대로 항구라는 뜻이다. 항구에 서로 다른 배들이 정착하고 나가듯, 서버도 마찬가지로 이런 항구의 역할을 하는 친구가 필요하다. 그것이 바로 port이다. 하나의 서버에서는 여러 역할을 할 수가 있다. 데이터베이스를 관리할 수도 있고 다른 서버에 요청을 보낼 수도 있다. 파일을 전송할 수도 있고 굉장히 여러 기능이 존재할 수 있다. 그러나 포트가 없이 서버 IP주소로만 요청을 보내면 어떤 요청을 하는 것인지 알 수가 없다. 따라서 어디로 요청을 보내는 것인지 알려주기 위해 숫자로 포트 번호를 부여하고 해당 포트로 요청을 하게 된다. 포트의 종류는 크게 다음과 같이 3종류로 표현이 된다. 0 ~ 1023 : 잘 알려진 포트(well-known port) 잘..
2022.07.15