I often see that network settings have a field for logical port. What is this field.referring to?

  • @a_fancy_kiwi
    link
    English
    51
    edit-2
    1 year ago

    Imagine you need to go see your doctor. They work in a building with 65535 rooms. Some rooms are empty. Some rooms have people in them that provide different services. But you need your doctor so you look up their location.

    You learn the building address (IP address) and the room number (port)

    In practice, you attach services to specific ports so that other computers can access those services. Typically, http traffic is on port 80 and https is on port 443. So if you visit a website, you are likely connected to a server on one of those two ports. But it’s not a requirement. You could create a website and put it on port 2097, or 532, or 47210; it doesn’t matter.

    • sebinspace
      link
      English
      161 year ago

      And the best port of all, 25565

      • @2dollarsim
        link
        English
        41 year ago

        Haha knew that one sounded familiar but it’s been a while

        • Dran
          link
          English
          31 year ago

          What’s the reference?

          • Ignisnex
            link
            English
            81 year ago

            It’s the port for a Minecraft Java server.

          • @RGB3x3
            link
            English
            61 year ago

            It’s for Minecraft, haha

          • Ignisnex
            link
            English
            21 year ago

            deleted by creator

    • @TheBeege
      link
      English
      11 year ago

      I came up with the same analogy! This one is great. People understand it really quickly