I often see that network settings have a field for logical port. What is this field.referring to?
Imagine your network card is a house. That house has an address (IP address in this case) and to get into the house you need doors (ports). The house is pretty big so it has exactly 65,535 doors (ports). But because the owner of the house is not insane, most of the doors are locked (firewall).
When something communicates with you (or you with something), you use a port. For example when you open a webpage, your browser sends a request to the server on port 80 or 443 (80 for http, 443 for https). Those are standardized ports which have a well-defined meaning, but in general you only need the client (browser, app, whatever) and server to use the same port for the service.
Let me know if that clears it up!
If an ip address is a house number, then a port is an apartment number.
That’s the only true ELI5 answer
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.
And the best port of all, 25565
Haha knew that one sounded familiar but it’s been a while
What’s the reference?
It’s the port for a Minecraft Java server.
It’s for Minecraft, haha