Question: what is the difference between well known ports and registered ports?
Answer: Well-known ports—Ports in the range 0 to 1023 are assigned and controlled. Registered ports—Ports in the range 1024 to 49151 are not assigned or controlled, but can be registered to prevent duplication.