Skip to content
126 / 210· Where this leads
0% read
Lesson 126 of 210CybersecurityBasic · ExplainerCybersecurity in class

TCP/IP: how the road carries the mail

How a web page is broken into packets, addressed, carried, and put back together, and what an IP address and a port actually are.

Ellis Dennis GrahamEllis Dennis GrahamFounder & Lead Educator, Cyber Elias Academy 4 min readReleased in the 2026 notes seriesStatus: Published
Small numbered parcels travelling along a road toward a house in warm evening light.

This lesson explains TCP/IP in ordinary words: how a message leaves your device, gets split up, travels, and arrives. You will learn what an IP address is, what a port does, and why a page sometimes loads in pieces.

TCP/IP is the set of rules that lets different machines talk. IP moves small pieces across the network, and TCP makes sure the pieces arrive and are put back in order.

Before you start

  • About twenty minutes.
  • A browser, so you can watch the ideas happen.

The address, and why it has two parts

  • An IP address identifies a device on a network, such as 102.89.33.7.
  • Your home router gives your laptop an address that begins 192.168, which is private.
  • The public address is the one the outside world sees, shared by everything at home.
  • The address alone reaches a machine, not a service on that machine.
  • A port number names the service, such as 443 for secure web pages.
  • So an address plus a port points at one specific door on one specific machine.

You will see this in your browser's developer tools, where each request shows a host and a port. Most are hidden from you, usually 443, which is why the address bar shows only the name.

Parcels on a road, each labelled with an address and a number.
Each packet carries the address, the port, and its place in the sequence. The labels are what make reassembly possible.

It looks like a message travels as one piece, like a letter. A page is broken into many small packets, and each one may take a different route.

What happens when you open a page

  • You type a name, and the device asks a name service for the matching IP address.
  • That lookup is DNS, which works like a phone book for names.
  • The device opens a connection to the address on port 443.
  • It sends a request, and the server replies with the page in packets.
  • Each packet is numbered, and the receiving device acknowledges the ones it got.
  • Missing packets are sent again, and the page appears once enough of it has arrived.

A slow page that shows text first and pictures later is this process working. The parts arrive in an order the browser can draw, and the heavy parts follow.

A router with several cables and small indicator lights.
The router holds the private addresses and shares one public address. The lights show packets moving, not pages.

TCP and UDP, in one paragraph each

TCP checks that everything arrived and asks again for what did not. It is slower and reliable, which is what a web page and a bank transfer need.

UDP sends without waiting for confirmation. It is faster and drops packets when the network is busy, which suits a live call where an old sound is useless.

  • Web pages use TCP, because a missing piece breaks the page.
  • Email uses TCP, because a missing line matters.
  • Video calls often use UDP, because waiting is worse than a glitch.
  • Online games usually use UDP, for the same reason.
  • File downloads use TCP, because a corrupt file is a failure.
  • Neither is better. Each matches the job.

None of this needs a network qualification to use. It explains why a call freezes but continues, while a download stops and restarts.

Do not worry about memorising the numbers. Two facts carry most of the value: addresses find machines, and ports find services.

If it goes wrong

Take these one at a time.

  • The name does not resolve: DNS is failing, and typing the IP address directly sometimes works.
  • The page loads without pictures: some packets are lost repeatedly, which suggests a weak signal.
  • One site fails and others work: the problem is at that site or on the route to it.
  • Everything fails: check the router, then the provider, before changing any settings.
  • A call freezes but keeps going: that is UDP dropping packets, and it recovers by itself.
  • A download stops at ninety per cent: the connection dropped, and the retry starts again.

Practice

Watch the process once, and it stops being abstract.

  • Open a page and note how the text appears before the images.
  • Find your device's IP address in the network settings.
  • Find the router's private address, usually ending in .1.
  • Use a speed test and note the difference between download and upload.
  • Turn the wifi off mid-load and watch the page stop and resume.

You can now picture how the network carries a message. In the next lesson you will see what a digital signature proves, and what it does not.

Free browser practice lab

Check readiness in Self-Assessment Studio

Take a quick browser diagnostic and get instant feedback.

Open lab

Next step

Ready to enrol?

Tell us which course you want. We will reply with dates, the fee, and what to bring.

Admissions open · Two sessions a week · 24 Ebony Road, Port Harcourt