TCP/UDP port number ranges

There are three ranges:
  • Well-known ports: 0 to 1023

  • Registered ports: 1024 to 49151

  • Dynamic and/or private ports: 49152 to 65535

For more information, including a listing of UDP/TCP port numbers, go to the Internet Assigned Numbers Authority (IANA) website at:

Then click on:

Protocol Number Assignment Services

P (Under "Directory of General Assigned Numbers" heading)

Port Numbers