Here i know that the answer can be found with nmap but first it wasnt that easy to find the right command to get the results, first i was tring to find all servises on all ports because i thought the 5000 was like a clue to know that the sum is more then 5000 stupeditly. but later hwne i reread i understood that it was only the first 5000 ports but my commands were taking along time, sometimes very long time when i was scaning all the ports, so i was confused with commands as i was rinng multiple terminal at the same time tring the diffrent commends untill i stared getting answers and i was summing up the port numbers but none was right, finaly i did search the net and speastialy chat gpt witch proposed useing -sS instead -sT and i got the right port sum
Here i know that the answer can be found with nmap but first it wasnt that easy to find the right command to get the results, first i was tring to find all servises on all ports because i thought the 5000 was like a clue to know that the sum is more then 5000 stupeditly. but later hwne i reread i understood that it was only the first 5000 ports but my commands were taking along time, sometimes very long time when i was scaning all the ports, so i was confused with commands as i was rinng multiple terminal at the same time tring the diffrent commends untill i stared getting answers and i was summing up the port numbers but none was right, finaly i did search the net and speastialy chat gpt witch proposed useing -sS instead -sT and i got the right port sum