this post was submitted on 28 Jun 2023
203 points (99.5% liked)

Explain Like I'm Five

14217 readers
1 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] a_fancy_kiwi 51 points 1 year ago* (last edited 1 year ago) (3 children)

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 16 points 1 year ago (1 children)

And the best port of all, 25565

[–] 2dollarsim 4 points 1 year ago (1 children)

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

[–] Dran_Arcana 3 points 1 year ago (4 children)
[–] Ignisnex 8 points 1 year ago

It's the port for a Minecraft Java server.

[–] RGB3x3 6 points 1 year ago

It's for Minecraft, haha

[–] [email protected] 2 points 1 year ago

This is such a great analogy

[–] TheBeege 1 points 1 year ago

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