Port Addressing ======================= .. panels:: :container: container-fluid p-4 bg-light :column: col-lg-12 p-2 .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is Port Addressing?** Port addressing is a method used in networking to distinguish between multiple applications or services running on a single device. It uses **port numbers** to identify specific processes. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why is Port Addressing useful?** Port addressing allows multiple network services to operate on the same machine without conflict. It enables precise delivery of data to the correct application. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **How does Port Addressing work?** Port addressing uses **port numbers** (ranging from 0 to 65535) in combination with IP addresses. When a packet is received, the transport layer uses the destination port to route data to the correct application. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is Port Addressing used?** Port addressing is used in all **TCP** and **UDP** communications. It is essential for services like HTTP (port 80), HTTPS (443), FTP (21), DNS (53), and others. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which OSI layer does Port Addressing belong to?** Port addressing operates at the **Transport Layer (Layer 4)** of the OSI model, where protocols like TCP and UDP manage end-to-end communication. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is Port Addressing Windows specific?** No, port addressing is part of the transport layer protocols and is supported by all major operating systems, including Windows, Linux, and macOS. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is Port Addressing Linux specific?** No, port addressing is a standard networking concept implemented in all operating systems that support TCP/IP networking. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Transport Protocol is used by Port Addressing?** Port addressing is used by both **TCP** and **UDP**, which rely on source and destination port numbers to direct traffic to the appropriate applications. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is Port Addressing using client-server model?** Yes, in a client-server model, port addressing helps the client connect to the correct service on the server by targeting a specific port, like port 443 for HTTPS or 22 for SSH. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`Port_Addressing Basic Setup on Ubuntu using IPv4 ` * :ref:`TCP Feature : Port Addressing ` * :ref:`Reference links ` .. _Port_Addressing_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _Port_Addressing_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _Port_Addressing_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _Port_Addressing_step18: .. tab-set:: .. tab-item:: Port_Addressing Basic Setup on Ubuntu using IPv4 * setup .. _Port_Addressing_step4: .. tab-set:: .. tab-item:: TCP Feature : Port Addressing **Port Addressing - Testcases** .. csv-table:: :file: ./TCP_Feature5_Port_addressing_Test_Cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _Port_Addressing_step17: .. tab-set:: .. tab-item:: Reference links * Reference links