I am trying to understand the concept of port number. As much as I know it identifies a specific process or a network service. Can anyone give me a real life example. So, it could be easier to understand. Some doubts that I currently have-
- I heard, there are 65536 ports. Does, that mean, a system can identify 65536 processes simultaneously?
- I have seen that some ports are reserve for some specific service. So, does it mean, it can't be used for any other service?
- What is the command to know which port numbers are free or to use?
- What is the command to know which port numbers are not free and what are they used for?
- If I try to access a system through remote desktop from my computer, it asks for a port number. What should I mention?
If possible please share a link. I am currently getting confused with too much technical theory. Thank you!!!