Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (2024)

> Home Networking

126

126 people found this article helpful

Some ports can be used for anything, while others have long-established purposes

By

Bradley Mitchell

Bradley Mitchell

Writer

  • Massachusetts Institute of Technology
  • University of Illinois

An MIT graduate who brings years of technical experience to articles on SEO, computers, and wireless networking.

lifewire's editorial guidelines

Updated on July 13, 2021

Reviewed by

Jon Fisher

Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (1)

Reviewed byJon Fisher

  • Wichita Technical Institute

Jonathan Fisher is a CompTIA certified technologist with more than 6 years' experience writing for publications like TechNorms and Help Desk Geek.

lifewire's editorial guidelines

Home Networking

  • ISP
    • The Wireless Connection
    • Network Hubs
    • Broadband
    • Ethernet

    The Transmission Control Protocol (TCP)uses a set of communication channels called portsto manage system messaging among several different applications running on the same physical device. Unlike the physical ports on computers like USB ports orEthernet ports,TCP ports are virtual—programmable entries numbered between 0 and 65535.

    Most TCP ports are general-purpose channels that can be called into service as needed but otherwise sit idle. Some lower-numbered ports, however, are dedicated to specific applications. While many TCP ports belong to applications that no longer exist, certain ones are very popular.

    01

    of 11

    TCP Port 0

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (2)

    TCP does not actually use port 0 for network communication, but this port is well-known to network programmers. TCP socket programs use port 0 by convention to request an available port be chosen and allocated by the operating system. This saves a programmer from having to pick ("hardcode") a port number that might not work well for the situation.

    02

    of 11

    TCP Ports 20 and 21

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (3)

    FTP servers use TCP port 21to manage their side of FTP sessions. The server listens for FTP commands arriving at this port and responds accordingly. In active mode FTP, the server additionally uses port 20 to initiate data transfers back to the FTP client.

    03

    of 11

    TCP Port 22

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (4)

    Secure Shell uses port 22. SSH servers listen on this port for incoming login requests from remote clients. Due to the nature of this usage, port 22 of any public server frequently gets probed by network hackers and has been the subject of much scrutiny in the network security community. Some security advocates recommend that administrators relocate their SSH installation to a different port to help avoid these attacks, while others argue this is only a marginally helpful workaround.

    04

    of 11

    TCP Port 23

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (5)

    Port 23 governs telnet, a text-based system for logging into remote systems. Although modern remote-access approaches rely on Secure Shell on port 22, port 23 remains reserved for the older and less-secure telnet application.

    TCP Ports 25, 110, and 143

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (6)

    Email relies on several standard ports. Port 25 governs the Simple Mail Transfer Protocol — the tool by which an email on your computer makes its way to a mail server, and then from that server to the larger internet for routing and delivery.

    On the receiving end, port 110 governs Post Office Protocol, version 3, and port 143 is dedicated to Internet Mail Access Protocol. POP3 and IMAP control the flow of emails from your provider's server to your inbox.

    The secure versions of SMTP and IMAP vary depending on configuration, but ports 465 and 587 are common.

    06

    of 11

    UDP Ports 67 and 68

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (7)

    Dynamic Host Configuration Protocolservers use UDP port 67 to listen for requests while DHCP clients communicate on UDP port 68.

    07

    of 11

    TCP Ports 80 and 443

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (8)

    Arguably the single most famous port on the Internet, TCP port 80 is the default that HyperText Transfer ProtocolWeb servers listen on for Web browser requests.

    Port 443 is the default for secure HTTP.

    08

    of 11

    UDP Port 88

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (9)

    The Xbox network gaming service uses several different port numbers including UDP port 88.

    09

    of 11

    UDP Ports 161 and 162

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (10)

    By default, the Simple Network Management Protocol uses UDP port 161 for sending and receiving requests on the network being managed. It uses UDP port 162 as the default for receiving SNMP traps from managed devices.

    10

    of 11

    TCP Port 194

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (11)

    Although tools like smartphone messaging apps and services like Slack and Microsoft Teams have cut into the use of Internet Relay Chat, IRC still proves popular with people around the globe. By default, IRC uses port 194.

    11

    of 11

    Ports Above 1023

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (12)

    TCP and UDP port numbers between 1024 and 49151 are called registered ports. The Internet Assigned Numbers Authority maintains a listing of services using these ports in order to minimize conflicting uses.

    Unlike ports with lower numbers, developers of new TCP/UDP services can select a specific number to register with IANA rather than having a number assigned to them. Using registered ports also avoids the additional security restrictions that operating systems place on ports with lower numbers.

    Was this page helpful?

    Thanks for letting us know!

    Get the Latest Tech News Delivered Every Day

    Subscribe

    Tell us why!

    Among Many Thousands of TCP and UDP Ports, Only a Few Are Very Popular (2024)

    FAQs

    How many TCP and UDP ports are there? ›

    Ports and Protocols. Between the protocols User Datagram Protocol (UDP) and Transmission Control Protocol (TCP), there are 65,535 ports available for communication between devices.

    What is the range of TCP and UDP well known ports? ›

    There are three ranges: Well-Known Ports: 0 – 1023. Registered Ports: 1024 – 49151. Dynamic and Private Ports: 49152 – 65535.

    Which is more important TCP or UDP? ›

    TCP is best used for direct communication in which a reliable connection is needed, such as web browsing, email, text messaging, and file transfers. UDP is best used for live and real-time data transmission when speed is more important than reliability.

    Are there enough port numbers? ›

    Each packet carries both port numbers, the sender's port number, and the receiver's. The port numbers allow each computer can tell which conversation the traffic represents. There are not 65,536 port numbers on the internet. There are that many available for each IP address on the internet.

    How many ports are well known? ›

    The well-known ports cover the range of possible port numbers from 0 through 1023. The registered ports are numbered from 1024 through 49151. The remaining ports, referred to as dynamic ports or private ports, are numbered from 49152 through 65535.

    What is the common in TCP and UDP? ›

    Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) both are protocols of the Transport Layer. TCP is a connection-oriented protocol where as UDP is a part of the Internet Protocol suite, referred to as the UDP/IP suite. Unlike TCP, it is an unreliable and connectionless protocol.

    What is the maximum TCP port number? ›

    The highest TCP port number is 65,535. The TCP protocol provides 16 bits for the port number, and this is interpreted as an unsigned integer; all values are valid, apart from 0, and so the largest port number is (2^16 - 1) or 65,535.

    What is the maximum number of ports in UDP? ›

    UDP port numbers can be between 0 and 65,535.

    What is the maximum TCP port size? ›

    The maximum value is 65535. The TCP/IP network port number for IPv4 is an unsigned 16-bit integer, which can be no more than 65535.

    Which is more secure, UDP or TCP? ›

    TCP is more reliable and provides error-checking to ensure that data packets are delivered in the correct order. TCP is also slightly more secure than UDP because it tracks all data packets, making it more difficult to insert malicious data.

    What are three major differences between UDP and TCP protocols? ›

    TCP vs. UDP: Understanding 10 Key Differences
    • TCP is connection-oriented while UDP is connectionless. ...
    • TCP leverages more error-checking mechanisms than UDP. ...
    • TCP sends data in a particular sequence, whereas there is no fixed order for UDP protocol. ...
    • UDP is faster and more efficient than TCP.
    Apr 18, 2022

    What is the main advantage of TCP over UDP? ›

    The advantages of TCP over UDP are: TCP provides reliable delivery, whereas UDP does not. UDP is faster than TCP for bulk data transfers, but TCP is faster for interactive applications. TCP has better security features than UDP.

    How many TCP ports are there? ›

    How Many TCP Ports Are There? A TCP port is a 16-bit, unsigned value, so there's a finite number of TCP ports available in the world. Specifically, there are 65,535 available TCP ports.

    What is a good port number to use? ›

    14 common network ports you should know
    Port NumberUsage
    53Domain Name System (DNS) service
    80Hypertext Transfer Protocol (HTTP) used in World Wide Web
    110Post Office Protocol (POP3) used by e-mail clients to retrieve e-mail from a server
    119Network News Transfer Protocol (NNTP)
    10 more rows

    What port numbers are safe to use? ›

    However, conflicts with already installed applications can occur. But in practice, numbers in the range from 0-1,023 are protected, and from 1,024 onwards can be used. For example, operating systems should only allow processes with appropriate privileges to open the server ports that are within the given range.

    How many ports does UDP use? ›

    You can have a total of 65,535 TCP Ports and another 65,535 UDP ports. When a program on your computer sends or receives data over the Internet it sends that data to an ip address and a specific port on the remote computer, and receives the data on a usually random port on its own computer.

    How many ports does TCP use? ›

    How Many TCP Ports Are There? A TCP port is a 16-bit, unsigned value, so there's a finite number of TCP ports available in the world. Specifically, there are 65,535 available TCP ports.

    Is port 25000 UDP or TCP? ›

    Port 25000 Details
    Port(s)ProtocolService
    25000tcpapplications
    15001, 15101, 15200, 20000-21000, 25000-25499tcpapplications
    25000tcp,udpicl-twobase1

    Is TCP or UDP port 8000? ›

    TCP Port 8000 is commonly used for development environments of web server software.

    Top Articles
    Latest Posts
    Article information

    Author: Kieth Sipes

    Last Updated:

    Views: 5492

    Rating: 4.7 / 5 (47 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Kieth Sipes

    Birthday: 2001-04-14

    Address: Suite 492 62479 Champlin Loop, South Catrice, MS 57271

    Phone: +9663362133320

    Job: District Sales Analyst

    Hobby: Digital arts, Dance, Ghost hunting, Worldbuilding, Kayaking, Table tennis, 3D printing

    Introduction: My name is Kieth Sipes, I am a zany, rich, courageous, powerful, faithful, jolly, excited person who loves writing and wants to share my knowledge and understanding with you.