TCP/UDP port number ranges
There are three ranges:
Well-Known Ports: 0 – 1023
Registered Ports: 1024 – 49151
Dynamic and Private Ports: 49152 – 65535
For more information, including a listing of UDP/TCP port numbers, go to the Internet Assigned Numbers Authority (IANA) website at:
Then click:
Protocol Number Assignment Services
P (under Directory of General Assigned Numbers)
Port Numbers