Computer NetworksNETWORKS

Port Numbers Explained | Cisco CCNA 200-301

Full CCNA Course ➤ Register your interest ➤ https://mailchi.mp/45a8a98de600/certbros-course

How to PASS your CCNA! My Recommended Resources
—————————————————-
📚 Get a great book ➤ https://amzn.to/3f16QA5
📹 Video Course ➤ https://mailchi.mp/45a8a98de600/certbros-course ➤ Register your interest
✔ Practice Exams ➤ https://bit.ly/2XmSjZS ➤ The best exams available for the Cisco CCNA

📚 Recommended Books 📚
—————————————————-
Introduction to Hacking ➤ https://amzn.to/38S7kWl

📹 How do you make videos? 📹
—————————————————-
Animations ➤ https://bit.ly/3cMpxaf
Video editing ➤ https://bit.ly/2LFld0t

Disclaimer: These are affiliate links. If you purchase using these links, CertBros will receive a small commission at no extra charge to you.
—————————————————-

In the last video, we looked at the layer 4 protocols TCP and UDP. Layer 4 is also responsible for choosing port numbers.

So why do we need port numbers? The example I give here is the postal service. To get post, you install a letterbox (at least here in the UK). This letterbox allows the postal service to access your home.

Network applications work in the same way. If you want to communicate over a network, you must allow some means of access to your device.

Let’s say we want to access a web server. We type in the web address (also known as a URL) of the site we want to visit.

The first thing the computer does it convert that URL to an IP address.
This is done by using DNS, but we will cover than in another video. For now, just know it coverts web addresses to IP addresses.

The computer then sends the request to the webserver. The server will then look at the destination port to find out which application to send this data to. It can do this because there is a standard that port numbers follow.

When we made our web request, our computer knew we were trying to access a HTTP site. So it added the destination port number 80 to the TCP header.

The computer will also choose a randomly generated source port to receive reply’s on.

Several port numbers are called well-known ports. These are common protocols that have been assigned port numbers.
Examples of well-known port numbers are HTTP(80), HTTPS(443), SMTP (25).

0 – 1023: Well-known port numbers.
1024 – 49151: Registered ports that companies have registered IANA
49152-65535: Dynamic ports

Resources:
https://tools.ietf.org/html/rfc6335
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml

Do you Even CertBros?
————————————–
https://www.certbros.com

Subscribe: https://goo.gl/l999wu

Twitter: https://twitter.com/certbros

source

ccna

Leave a Reply

Your email address will not be published. Required fields are marked *