ELI5: In computer networking, what is a port? - eviltoast

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

  • takeda@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    If you would compare a server to a building, with its own street address, then port would be an apartment number for every application (tenant) living there.

    Ports are what allowing you to run multiple applications and all can communicate over the internet. Without ports you would need to have a dedicated computer for every application.