50 Common Ports You Should Know - GeeksforGeeks (2024)

Port number is a 16-bit numerical value that ranges from 0 to 65535. Well-known port (0-1023), registered port (1024-49151), and dynamic port is three types of port number space. (49152-65535).

These ports can be opened and used by software applications and operating system services to send and receive data over networks (LAN or WAN) that employ certain protocols (eg TCP, UDP).

For example, we use 80 for HTTP-web-based plain-text surfing and 443 for HTTPS-web-based encrypted websites in our daily work.

To conclude, a port is a logical form to identify system activities or various network services used to create local or network-based communications.

What are the functions of ports?

When interacting over the Internet, TCP and UDP protocols make connections, recompile data packages after the transfer, and then deliver them to applications on the recipient’s device. For this handover to work, the operating system must install and open the gateway for the transfer. Each door has a unique code number. After transmission, the receiving system uses the port number to determine where the data should be sent. The port numbers of the sender and receiver are always included in the data packet.

Ports are assigned sequential numbers from 0 to 65535. Some of these codes are standardized, meaning they are assigned to certain uses. Since code numbers are universally recognized and permanently assigned, these standard ports are also known as well-known ports. Registered ports are those that organizations or software developers have registered for their applications. Registration is handled by the Internet Assigned Numbers Authority (IANA). A diverse selection of dynamically assigned port numbers is also available. For example, when viewing websites, browsers use these ports. After that, the port number is free again.

Why is it important to know these ports?

Any security researcher, bug bounty hunter, or anyone working with service configuration would benefit from this. Knowing how to do more thorough scans such as version detection or known vulnerabilities for ancient services that are still operating in the infrastructure, especially when using tools like Nmap, is handy when getting to know these protocols and services.

The most 50 significant ports are listed here:

The following are some of the most common service names, transport protocol names, and port numbers used to differentiate between specific services that employ TCP, UDP, DCCP, and SCTP.

Port Number Service nameTransport protocolDescription
7EchoTCP, UDPEcho service
20FTP-dataTCP, SCTPFile Transfer Protocol data transfer
21FTPTCP, UDP, SCTPFile Transfer Protocol (FTP) control connection
22SSH-SCPTCP, UDP, SCTPSecure Shell, secure logins, file transfers (scp, sftp), and port forwarding
23TelnetTCPTelnet protocol—unencrypted text communications
25SMTPTCPSimple Mail Transfer Protocol, used for email routing between mail servers
53DNSTCP, UDPDomain Name System name resolver
69TFTPUDPTrivial File Transfer Protocol
80HTTPTCP, UDP, SCTP

Hypertext Transfer Protocol (HTTP) uses TCP in versions 1.x and 2.

HTTP/3 uses QUIC, a transport protocol on top of UDP

88KerberosTCP, UDPNetwork authentication system
102Iso-tsapTCPISO Transport Service Access Point (TSAP) Class 0 protocol
110POP3TCPPost Office Protocol, version 3 (POP3)
135Microsoft EPMAPTCP, UDPMicrosoft EPMAP (End Point Mapper), also known as DCE/RPC Locator service, used to remotely manage services including DHCP server, DNS server, and WINS. Also used by DCOM
137NetBIOS-nsTCP, UDPNetBIOS Name Service, used for name registration and resolution
139NetBIOS-ssnTCP, UDPNetBIOS Session Service
143IMAP4TCP, UDPInternet Message Access Protocol (IMAP), management of electronic mail messages on a server
381HP OpenviewTCP, UDPHP data alarm manager
383HP OpenviewTCP, UDPHP performance data collector.
443HTTP over SSLTCP, UDP, SCTPHypertext Transfer Protocol Secure (HTTPS) uses TCP in versions 1.x and 2. HTTP/3 uses QUIC, a transport protocol on top of UDP.
464KerberosTCP, UDPKerberos Change/Set password
465SMTP over TLS/SSL, SSMTCPAuthenticated SMTP over TLS/SSL (SMTPS), URL Rendezvous Directory for SSM (Cisco protocol)
587SMTPTCPEmail message submission
593Microsoft DCOMTCP, UDPHTTP RPC Ep Map, Remote procedure call over Hypertext Transfer Protocol, often used by Distributed Component Object Model services and Microsoft Exchange Server
636LDAP over TLS/SSLTCP, UDPLightweight Directory Access Protocol over TLS/SSL
691MS ExchangeTCPMS Exchange Routing
902VMware ServerunofficialVMware ESXi
989FTP over SSLTCP, UDPFTPS Protocol (data), FTP over TLS/SSL
990FTP over SSLTCP, UDPFTPS Protocol (control), FTP over TLS/SSL
993IMAP4 over SSLTCPInternet Message Access Protocol over TLS/SSL (IMAPS)
995POP3 over SSLTCP, UDPPost Office Protocol 3 over TLS/SSL
1025Microsoft RPCTCPMicrosoft operating systems tend to allocate one or more unsuspected, publicly exposed services (probably DCOM, but who knows) among the first handful of ports immediately above the end of the service port range (1024+).
1194OpenVPNTCP, UDPOpenVPN
1337WASTEunofficialWASTE Encrypted File Sharing Program
1589Cisco VQPTCP, UDPCisco VLAN Query Protocol (VQP)
1725SteamUDPValve Steam Client uses port 1725
2082cPanelunofficialcPanel default
2083radsec, cPanelTCP, UDPSecure RADIUS Service (radsec), cPanel default SSL
2483Oracle DBTCP, UDPOracle database listening for insecure client connections to the listener, replaces port 1521
2484Oracle DBTCP, UDPOracle database listening for SSL client connections to the listener
2967Symantec AVTCP, UDPSymantec System Center agent (SSC-AGENT)
3074XBOX LiveTCP, UDPXbox LIVE and Games for Windows – Live
3306MySQLTCPMySQL database system
3724World of WarcraftTCP, UDPSome Blizzard games, Unofficial Club Penguin Disney online game for kids
4664Google DesktopunofficialGoogle Desktop Search
5432PostgreSQLTCPPostgreSQL database system
5900RFB/VNC ServerTCP, UDPvirtual Network Computing (VNC) Remote Frame Buffer RFB protocol
6665-6669IRCTCPInternet Relay Chat .
6881BitTorrentunofficialBitTorrent is part of the full range of ports used most often
6999BitTorrentunofficialBitTorrent is part of the full range of ports used most often
6970QuicktimeunofficialQuickTime Streaming Server
8086Kaspersky AVTCPKaspersky AV Control Center
8087Kaspersky AVUDPKaspersky AV Control Center
8222VMware ServerTCP, UDPVMware Server Management User Interface (insecure Web interface).
9100PDLTCPPDL Data Stream, used for printing to certain network printers.
10000BackupExecunofficialWebmin, Web-based Unix/Linux system administration tool (default port)
12345NetBusunofficialNetBus remote administration tool (often Trojan horse).
27374Sub7unofficialSub7 default
31337Back OrificeunofficialBack Orifice 2000 remote administration tools


luvkumar

50 Common Ports You Should Know - GeeksforGeeks (2)

Improve

Next Article

Components of X.25 Network

Please Login to comment...

50 Common Ports You Should Know - GeeksforGeeks (2024)

FAQs

50 Common Ports You Should Know - GeeksforGeeks? ›

The TCP and UDP protocols have, separately, a port number which allows different program to connect to remote computers or one program to connect to different computers. This is a 16-bit number, which means that it can have 65536 different values. That limits the number of simultaneous connections you can have open.

What are the most common ports? ›

Some of the most commonly used ports, along with their associated networking protocol, are:
  • Ports 20 and 21: File Transfer Protocol (FTP). ...
  • Port 22: Secure Shell (SSH). ...
  • Port 25: Historically, Simple Mail Transfer Protocol (SMTP). ...
  • Port 53: Domain Name System (DNS). ...
  • Port 80: Hypertext Transfer Protocol (HTTP).

Why are there 65536 ports? ›

The TCP and UDP protocols have, separately, a port number which allows different program to connect to remote computers or one program to connect to different computers. This is a 16-bit number, which means that it can have 65536 different values. That limits the number of simultaneous connections you can have open.

How many of the 65535 ports are well known? ›

Ports 0 through 1023 are defined as well-known ports. Registered ports are from 1024 to 49151. The remainder of the ports from 49152 to 65535 can be used dynamically by applications.

What are the top 20 ports in the world? ›

The Top 50 Container Ports.
PortVolume 2021 (Million TEU)
1Shanghai, China47.03
2Singapore37.49
3Ningbo-Zhoushan, China31.07
4Shenzhen, China28.77
58 more rows

What are the 5 busiest ports in the US? ›

Which are The Top 10 Busiest and Biggest Ports in the United States?
Sr.PortTEUs
1.Port of Los Angeles, California9,911,159
2.Port of Long Beach, California9,133,657
3.Port of New York and New Jersey9,493,664
4.Port of Savannah, Georgia5,892,131
6 more rows

Why always port 80? ›

HTTP Port-80 is used for HTTP (Hyper Text Transfer Protocol) connection by default. It is a popular and widely used port across the globe. Port 80 was introduced by Tim Berners-Lee in 1991 in the HTTP 0.9 document. The document states that if there is no port assigned for HTTP connection, Port 80 is used by default.

What is port 0 to 65535? ›

The host computer uses these ports to direct traffic to the associated process or service. Software-based ports are identified by 16-bit integers that range from 0 to 65535. The ports can be either static or dynamic. A static port is one whose association with a process or service does not change.

Why do we use 3000 ports? ›

Port 3000 became a default choice for development servers due to its non-privileged status and low likelihood of conflict with other well-known ports. It's easy to remember and has become a standard in the dev community.

What ports are used by SMTP? ›

Originally, the Simple Mail Transfer Protocol (SMTP) used port 25. Today, SMTP should instead use port 587 — this is the port for encrypted email transmissions using SMTP Secure (SMTPS). Port 465 is also used sometimes for SMTPS. However, this is an outdated implementation and port 587 should be used if possible.

Is port 465 deprecated? ›

It is commonly used for the submission of outgoing mail. Port 465: This port was previously used for Secure SMTP (SMTPS). It has now been deprecated by the Internet Engineering Task Force (IETF), and its use is not recommended.

Does port 25 use SSL? ›

As you can see, SMTP config is simply: plain sents through port 25 and empty user and pass without TLS or SSL encryption. The security is based on IP whitelist.

What port is FTP? ›

FTP is a TCP based service exclusively. There is no UDP component to FTP. FTP is an unusual service in that it utilizes two ports, a 'data' port and a 'command' port (also known as the control port). Traditionally these are port 21 for the command port and port 20 for the data port.

What port is DNS? ›

A DNS server uses well-known port 53 for all its UDP activities and as its server port for TCP. It uses a random port above 1023 for TCP requests. A DNS client uses a random port above 1023 for both UDP and TCP.

Is 0 a valid port? ›

For TCP and UDP, a port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port.

What is the most popular type of port? ›

Ruby Port is the most common type of port, known for its deep red color and bright, fruity flavors. It's typically aged for a shorter period (about three years), resulting in a fresh, vibrant taste with less complexity.

What is the most common port found? ›

USB Type-A

This is the most common port found on all laptops and desktops. The near universal use of USB Type-A means you can easily connect a wide range of peripherals and devices straight to your computer, such as keyboards, mice, printers, microphones, external storage devices, and more.

What are the most common serial ports? ›

Over the years, several serial port interface standards for connecting computers to peripheral devices have been developed. These standards include RS-232, RS-422, and RS-485 — all of which are supported by the serialport object. The most widely used standard is RS-232.

What are the three major ports? ›

List of Major Ports in India
Sr. No.Name of the PortState
1.Kolkata PortWest Bengal
2.Paradip PortOrissa
3.Visakhapatnam PortAndhra Pradesh
10 more rows
Jul 17, 2024

Top Articles
9 Part-Time Jobs with Health Benefits For Stay-At-Home Moms ?? - Merry for Money
Online Business Line Of Credit
Average Jonas Wife
Pieology Nutrition Calculator Mobile
9192464227
Wausau Marketplace
Www Movieswood Com
Umn Biology
Student Rating Of Teaching Umn
Craigslist Labor Gigs Albuquerque
Lesson 2 Homework 4.1
10 Great Things You Might Know Troy McClure From | Topless Robot
Ukraine-Russia war: Latest updates
Eka Vore Portal
Bnsf.com/Workforce Hub
Paychex Pricing And Fees (2024 Guide)
Itziar Atienza Bikini
Missed Connections Dayton Ohio
Aldine Isd Pay Scale 23-24
U Break It Near Me
Azpeople View Paycheck/W2
Kringloopwinkel Second Sale Roosendaal - Leemstraat 4e
Bidevv Evansville In Online Liquid
Best Boston Pizza Places
Drying Cloths At A Hammam Crossword Clue
Telegram Voyeur
Bj타리
Claio Rotisserie Menu
Gncc Live Timing And Scoring
+18886727547
2015 Chevrolet Silverado 1500 for sale - Houston, TX - craigslist
What Are Digital Kitchens & How Can They Work for Foodservice
Hannibal Mo Craigslist Pets
State Legislatures Icivics Answer Key
Zasilacz Dell G3 15 3579
Wunderground Orlando
Lonely Wife Dating Club בקורות וחוות דעת משתמשים 2021
Other Places to Get Your Steps - Walk Cabarrus
Discover Things To Do In Lubbock
Comanche Or Crow Crossword Clue
Unlock The Secrets Of "Skip The Game" Greensboro North Carolina
Ups Authorized Shipping Provider Price Photos
Honkai Star Rail Aha Stuffed Toy
St Anthony Hospital Crown Point Visiting Hours
Greatpeople.me Login Schedule
Acuity Eye Group - La Quinta Photos
Craigslist Indpls Free
March 2023 Wincalendar
Southwind Village, Southend Village, Southwood Village, Supervision Of Alcohol Sales In Church And Village Halls
O'reilly's Eastman Georgia
Kindlerso
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 5874

Rating: 4.8 / 5 (68 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.