Saptarshi's Notes 📝
  • HOME
  • Open-Source
    • Issue Template
    • Pull Request Template
    • Greetings Action
    • Stale Action
    • Push to Pull Requests Action
    • Contributing Guide
    • Security
  • Computer Networking
    • Introduction
    • IP Address
    • Data Transmission
      • Network Topologies
      • Structure of The Network
      • Network Devices
    • How does The Internet work?
      • OSI Model
      • TCP/IP Model
        • Application Layer
          • Application Layer Network Protocols
          • Sockets
          • Ports
        • Transport Layer
        • Network Layer
        • Data Link Layer
        • Physical Layer
Powered by GitBook
On this page

Was this helpful?

  1. Computer Networking
  2. How does The Internet work?
  3. TCP/IP Model
  4. Application Layer

Ports

Port Number is a 16-bit number. Total port numbers possible are 216 = 65536. All the HTTP stuffs that we do are done on port 80.

Port Numbers from

  • 0 - 1023 are already reserved for HTTP stuffs.

  • 1024 - 49151 are registered for some specific applications. Example - SQL runs on port 1433.

  • 49152 - 65536 can be used by you. Ports tell us which application we are working on or which application the data should go.

Ephemeral Ports determine which process/ instance the data will be received in the client side. Servers at most times have fixed port numbers.

PreviousSocketsNextTransport Layer

Last updated 2 days ago

Was this helpful?