Ports
A port is a numerical identifier assigned to network services to direct traffic correctly using protocols like TCP and UDP at the transport layer of the OSI model. Ports allow multiple services to operate simultaneously on a single IP address, with well-known ports (0-1023) reserved for standard services like HTTP (port 80) and HTTPS (port 443). Client applications use dynamic or ephemeral ports (49152-65535) for temporary communication sessions, while registered ports (1024-49151) are assigned to specific applications by IANA.
- ▪Ports operate at Layer 4 (Transport Layer) of the OSI model and work with protocols such as TCP and UDP.
- ▪Well-known ports range from 0 to 1023 and are reserved for universally recognized services like HTTP on port 80 and HTTPS on port 443.
- ▪Registered ports from 1024 to 49151 are assigned by IANA to specific services, while dynamic ports from 49152 to 65535 are used temporarily by client applications.
- ▪During web browsing, a client connects to a server's well-known port, while the server responds to a randomly selected ephemeral port on the client.
- ▪Port numbers help the operating system direct incoming network traffic to the correct application based on the service requested.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3630495) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Palak Hirave Posted on May 2 Ports #networking #network #learning #beginners Network Foundations (4 Part Series) 1 Network Basics 2 Network Concepts 3 Network Components 4 Ports A port is a number assigned to a specific process or sevice in the network to help comuters sort and direct network traffic correctly. It works on Layer 4(Transport Layer) of the OSI model and works with protocals such as TCP and UDP.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).