If I do a port scan from the internet, do I hit a bundle of wires that are physical ports into the motherboard (like a PCE port)?
Or do I actually go into the operating system and interact with the virtual or 'logical' ports of the OS?
I am trying to understand what the difference is between these ports, and why, if they are logical, I would be able to scan any of them from the internet, because it implies my bytes are passing over hardware to reach these 'logical' ports inside the CPU and cache, rather than on the peripheral hardware (before they are rejected)… This feels wrong...
But if they are actually physical, then where are they? And, if I have a daemon listen on a port that is "opened", does this mean that the program is listening to bytes that pass over a physical component on the motherboard, exterior to the cache-ram-cpu area?