Assume we have two browsers (Chrome and Firefox) running simultaneously, and both are requesting a web page. Lets assume Chrome is requesting www.facebook.com
, and Firefox is requesting www.youtube.com
.
Let's also assume that the default port for HTTP is TCP 80.
Which of the following case is true?
Case 1: Both the browsers are making HTTP requests using TCP port number 80 (but one at a time), and this request goes to the corresponding web server, and then web server sends back the response via TCP port number 80. Thus, both the request and response use TCP port 80.
Case 2: Both the browsers are using different TCP ports for making HTTP requests, and then the web server responds using TCP port number 80 by default.
PS: I am confused whether the HTTP default TCP port 80 is used by the client for making request, or by the web server for sending response, or by both.