Hello, everyone.
So in this video we are going to learn about ports
and protocols.
We will see why ports and protocols is important.
What are the ports and protocols?
How do they help us?
How do they work?
And how many portion Protocols are there?
So
to understand the principle of how a port
and a protocol works and what are they?
I have demonstrated an example over here.
So as you can see.
Here is Rohit and here is Google.
There is a wall between both of them.
If Rohit wants to access to Google or Rohit wants
to see to Google he cannot see
because the wall is there in between now.
Rohit has to make a hole into the
wall and he can now look through that
hole to Google.
With his eyes perfect.
So now he's able to look to the Google. What is this whole
This hole is nothing but a port.
Through which he is able to see.
so in technical language
now will not call this as a whole but a
port.
So what is a port?
the port is a medium through which
a client can
communicate with the server as well as the
server can communicate with the client or a request can
pass through.
similarly
if Rohit makes multiple holes.
into this wall, the knee is able to
send
a lot of request from each and
every port
perfect.
So we have understood how a port works and
why Port is used. It is used to transfer from
one end to another end.
Or to behave as a bridge between a server
and a client so the request can pass through.
Perfect.
So
each port
uses a protocol
So let's say this port number.
is 443
now Rohit is going to pass a request to 443
and the surface that will be used is https hypertext
transfer protocol
secure.
Perfect.
So what is a protocol protocol is a
set of rule by definition in computer?
Networking protocol is a standard way for computers
to exchange information.
Each protocol has a port number assigned to it as we
saw into the previous example.
So there are total 65,535 ports
which comes by this
way 2 raise to 16 whatever the
answer is minus 1 so the answer of
this is 65,536 minus 1
which makes the total Board number as 65,000
500 and 35.
Thank you.