- 당신이 이 글 또는 다른 인터넷 문서를 보기 위해 접속했었던 서버
- HTTP를 이용하여 브라우저와 통신하며, http면 80번 포트를, https면 443번 포트를 사용한다
- HTTP 자체가 TCP를 사용하지만, UDP 또한 사용하기도 하는데 주로 실시간 동영상 시청에 쓰이고 있다
특징
WAS랑은 조금 다르다
- 원래는 웹 서버나 웹 어플리케이션 서버나 큰 차이는 없었는데, 시대가 흐르면서 웹에서 처리해야 할 기능이 늘어나면서 이 두 가지가 분류되기 시작했다
- 웹 서버는 Client가 보내는 HTTP 요청을 받아 서버에 있는 HTML, CSS, Script 등을 전송하는 역할이고
- 웹 어플리케이션 서버는 Servlet을 통해 JSP를 처리하고, 서버 내 비즈니스 로직을 수행하여 결과값을 반환하는 역할이다
- 다만 Tomcat처럼 WAS면서 웹 서버의 기능도 포함하고 있는 경우도 있다
WAS
종류
Apache
nginx