0% found this document useful (0 votes)
68 views9 pages

PORT

Port numbers are used to identify network services and allow communication between devices. There are 65,535 available port numbers classified into well-known ports (0-1023), registered ports (1024-49151), and dynamic/private ports. Well-known ports such as 80 and 443 are reserved for common protocols like HTTP and HTTPS. Registered ports include 8080 for alternate HTTP and 3306 for MySQL. Dynamic ports are assigned temporarily for client connections. Best practices include using standard ports, documenting port usage, and securing communications.

Uploaded by

sarveshsdeshmukh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views9 pages

PORT

Port numbers are used to identify network services and allow communication between devices. There are 65,535 available port numbers classified into well-known ports (0-1023), registered ports (1024-49151), and dynamic/private ports. Well-known ports such as 80 and 443 are reserved for common protocols like HTTP and HTTPS. Registered ports include 8080 for alternate HTTP and 3306 for MySQL. Dynamic ports are assigned temporarily for client connections. Best practices include using standard ports, documenting port usage, and securing communications.

Uploaded by

sarveshsdeshmukh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

PORT

PW SKILLS
Topics
● What is PORT number
● Different types of Port number
● Best practices of using Port number

PW SKILLS
What is PORT number
● In computer networking, a port is a logical construct that is used to identify a specific process or
service running on a computer or other networked device.
● Each port is associated with a unique number, called a port number, which allows data to be routed to
the correct application or service.
● A port number is always associated with a network address of a host, such as an IP address, and the
type of transport protocol used for communication.
● Specific port numbers are reserved to identify specific services so that an arriving packet can be easily
forwarded to a running application

PW SKILLS
Different types of PORT number
There are 65,535 available port numbers, which can be classified into 3 different types -
1. Well-known Port
2. Registered Port
3. Dynamic or Private Port

PW SKILLS
Well-known Port
● Well-known ports are port numbers that have been assigned by the Internet Assigned Numbers
Authority (IANA) to specific services or protocols.
● These ports range from 0 to 1023 and are reserved for use by well-known services and applications.
● Example -
○ Port 80: HTTP (Hypertext Transfer Protocol),
○ Port 443: HTTPS (HTTP Secure)
○ Port 25: SMTP (Simple Mail Transfer Protocol),
○ Port 53: DNS (Domain Name System)
○ Port 110: POP3 (Post Office Protocol version 3) and Port 143: IMAP (Internet Message Access
Protocol)

PW SKILLS
Registered Port
● Registered ports are port numbers that have been assigned by the Internet Assigned Numbers
Authority (IANA) to specific services or protocols
● These ports range from 1024 to 49151 and are typically used by applications or services that are not
considered well-known.
● Some examples -
○ Port 8080: HTTP alternate (used as a secondary web server port)
○ Port 3306: MySQL (database management system)
○ Port 5432: PostgreSQL (database management system)
○ Port 3389: Remote Desktop Protocol (used for remote access to a computer)

PW SKILLS
Dynamic or Private Port
● Registered ports are port numbers that have been assigned by the Internet Assigned Numbers
Authority (IANA) to specific services or protocols.
● These ports range from 1024 to 49151 and are typically used by applications or services that are not
considered well-known
● Examples -
○ When a client program initiates a connection to a server program, the operating system assigns a
unique dynamic port number to the client side of the connection. This dynamic port number is used
for the duration of the connection and is released when the connection is closed.

PW SKILLS
Best Practices of using Port numbers
● Use standard ports whenever possible
● Avoid using non-standard ports
● Consider using port forwarding
● Document port usage
● Secure port usage
● Test port accessibility

PW SKILLS
THANK
YOU
PW SKILLS

You might also like