port number 80 is used for? code example

Example 1: what is port 80 used for

Port 80 is one of the most commonly used port numbers in the
Transmission Control Protocol (TCP) suite. Any Web/HTTP client,
such as a Web browser, uses port 80 to send and receive requested
Web pages from a HTTP server. It manages all HTTP-based requests
that originate from a computer, regardless of the number of requests
and initiating Web clients. Similarly, the HTTP server responds to
all requests received at port 80.

Example 2: what uses port 80

netstat -aon | findstr :80

Tags:

Misc Example