-1

I hear there are a total of 65,535 ports on a computer.

Does this mean that the computer can communicate with 65,535 instances at the same time? (Let's assume the computer has enough power to handle network)

Jin Lim
  • 1,379
  • 14
  • 21
  • You're wrong already. There is a total o 65534 ports on a *network interface,*.port zero being reserved. Port numbers on servers are not correlated to the number of inbound connections. – user207421 Aug 22 '20 at 11:47

1 Answers1

-1

Port number is the connection of the process running on the computer. Every process running on your pc is connected to the network using a port no . Eg HTTP has port number 80 , so the browser connects to the network on port 80,ssh has port no 22 etc ... Port number are 16 bit long so the pc can run 65535 connections simultaneously to the network . According to the IP postal envelope analogy If you think of ip address as a house adress, port number refers to the person in the house .

  • 3
    'Port number are 16 bit long so the pc can run 65535 connections simultaneously to the network': *non sequitur,* and not correct. Port numbers are specific to an IP address, not the entire PC, and any HTTP server can support hundreds of thousands of inbound connections on the same port. – user207421 Aug 22 '20 at 11:40
  • Ludwig, If you think someone's opinion is not accurate, please share your thought. don't force them to delete it. – Jin Lim Aug 22 '20 at 16:34
  • 'Port number is the connection of the process running on the computer' and 'every process running on your pc is connected to the network using a port no' are also incorrect. Very little correct in this answer. – user207421 Aug 23 '20 at 04:23
  • 1
    What do you think it is then. Kindly explain , also I never talked about the number of connections for a single port . – Aashwin Gaur Aug 25 '20 at 08:15
  • You said 'port number are 16 bit long so the pc can run 65535 connections simultaneously to the network', which entails that there can only be one connection per port, which is false. See all the answers in the duplicates, especially mine. This is not a new topic. – user207421 Aug 25 '20 at 10:28