How Your Computer Separates Web, Gaming, and Chat Traffic

Опубликовано: 04 Июнь 2026
на канале: Netsechub Animated Videos
113
5

“Your computer has just one IP address… but you can watch YouTube, browse Chrome, and join Zoom calls at the same time.
So how does your system know which data belongs to which application?
In this video, let’s understand what a port is—in complete detail.”

“Let’s start very simple.”

“Whenever data comes to your computer, it doesn’t just need to know which device it should reach… it also needs to know which application inside that device should handle it.”

“That’s exactly where ports come into the picture.”

“A port is just a number that your operating system uses to identify a specific application or connection.”

“So if IP address is like your home address…
port is like the person inside your house who should receive the package.”

“Now let’s understand this from your computer’s perspective.”

“Imagine you open three things at the same time:

WhatsApp Web
Zoom
Instagram”

“All of these need internet… which means your computer has to talk to three different servers at the same time.”

“Now internally, your system creates three separate connections that look something like this:”

192.168.1.3:50123 → WhatsApp server:443
192.168.1.3:50124 → Zoom server:443
192.168.1.3:50126 → Instagram server:443

“If you look carefully, the IP address is the same in all three cases…”

“But the port numbers are different:
50123, 50124, 50126”

“These port numbers are not random mistakes…
your operating system is assigning them on purpose.”

“These are called ephemeral ports, which simply means temporary ports used for outgoing connections.”

“Now let’s say you send a message on WhatsApp.”

“Your system sends that data using port 50123.”

“So the request goes like this:
‘Hey WhatsApp server, this message is coming from port 50123’”

“Now when WhatsApp server sends data back… it doesn’t just send it to your IP.”

“It sends it specifically to:
192.168.1.3:50123”

“Now your operating system sees:
‘Oh, this data came to port 50123…’”

“So it checks:
‘Which application is using port 50123?’”

“And it finds:
WhatsApp (inside your browser)”

“So it delivers the data exactly there.”


“That’s how your system avoids confusion.”

“Even though multiple apps are running, ports make sure each one gets only its own data.”

“Now, at a basic level, you can think:
port → application”

“But internally, your system is even smarter.”

“It doesn’t just look at the port…
it actually tracks full connection details like:

your IP
your port
server IP
server port”

“This combination makes every connection unique.”




“If you want to actually see this happening, you can run a simple command:”

netstat -ano

“This will show all active connections on your system.”

“You’ll see:

your IP and port
server IP and port
connection state
and even which process is using it”


“So this is not theory… your system is literally tracking all of this in real time.”


Server perspective:

“So far we saw how ports help your computer manage multiple connections…”

“Now let’s see how ports work on the server side.”

“Think of a server like a building with many rooms.”

“Each room has a number… and each room is used for a specific purpose.”

“In servers, different applications run on different ports.”

Port 22 → SSH (remote login)
Port 443 → Website (HTTPS)
Port 53 → DNS

“Now when your system sends a request like this:
192.168.1.3:50123 → Server:443”

“The server looks only at one thing:
destination port 443”

“And it immediately knows:
‘This request is for my web service’”

“So it processes the request and sends response back to:
192.168.1.3:50123”

“Even if thousands of users connect to port 443…”

“The server can still handle all of them because each connection is uniquely identified using source IP and port combinations.”

“So now if you put everything together…”

Client side:

“Port helps identify which connection or application the data belongs to”

Server side:

“Port helps identify which service should handle the request”


“IP tells where the data should go…
Port tells who inside should receive it.”

“That’s why ports are essential for the internet to work the way it does today.”

You can reach us through instagram and telegram for network interview guidance and mock interview scheduling.
See you in the next video, Happy Learning!

#networking #computernetworks #ccna #cybersecurity #networksecurity #arp #cybersecuritytraining #ports #portsandprotocols #portsexplanation
#portsindetail #ports