Understand how devices communicate.
Networking is simply:
Devices communicating with other devices.
The internet is a huge network of connected networks.
1. Client & Server
These are two of the most important ideas.
Client
The device or application asking for something.
Examples:
Your laptop
Your phone
Your web browser
A mobile app
Server
A computer that provides something.
Examples:
Website
Database
API
Email
Files
Think:
CLIENT
│
│ "Give me this."
↓
SERVER
│
│ "Here you go."
↓
CLIENT
Your browser is usually the client.
The computer hosting the website is the server.
2. The Internet
The internet is not one giant computer.
It is a network of networks connecting computers and devices around the world.
Simplified:
Your Laptop
↓
Your Router
↓
Your ISP
↓
Internet
↓
Website Server
ISP = Internet Service Provider.
For example, the company providing your internet connection.
3. Network
A network is simply devices that can communicate.
For example, your home:
Router
/ | \
/ | \
Laptop Phone TV
Your office might have:
Computers
↓
Switch
↓
Router
↓
Internet
4. Router
A router connects networks.
At home:
Your Home Network
↓
Router
↓
Internet
It helps traffic get from one network to another.
5. IP Address
Devices need addresses so they can communicate.
An IP address identifies a device/interface on a network.
Example:
192.168.1.25
Think of it like an address:
House address → Where is the house?
IP address → Where is the device?
6. Public & Private IPs
Private IP
Used inside a local network.
Example:
192.168.1.25
Your laptop might have:
192.168.1.25
while your phone has:
192.168.1.26
Public IP
Used for communication with the internet.
Your Network
↓
Public IP
↓
Internet
Your router typically connects your private network to the public internet.
7. DNS
Computers can communicate using IP addresses, but people prefer names.
Instead of:
142.250.x.x
we use:
google.com
DNS translates the name into an IP address.
google.com
↓
DNS
↓
IP address
Think:
DNS is the internet's phonebook.
8. Domain Name
A domain name is a human-friendly name for an internet service.
Examples:
google.com
nubien.group
example.com
A domain can point to a server using DNS.
nubien.group
↓
DNS
↓
IP address
↓
Server
9. Port
One server can provide many different services.
A port helps identify which service you want.
For example:
192.168.1.50:22
↑
Port
Think:
IP address → Which computer?
Port → Which service?
Common ports:
| Port | Common use |
|---|---|
| 22 | SSH |
| 53 | DNS |
| 80 | HTTP |
| 443 | HTTPS |
| 3306 | MySQL |
10. Request & Response
When a client communicates with a server, there is usually a request and a response.
For example, opening a website:
Browser
│
│ Request: "Give me the website."
↓
Server
│
│ Response: "Here it is."
↓
Browser
This simple idea is behind much of the web.
11. HTTP & HTTPS
HTTP is a protocol used for communication on the web.
HTTPS is the secure version.
When you visit:
https://example.com
your browser communicates with the web server using HTTPS.
Commonly:
HTTP → Port 80
HTTPS → Port 443
12. Website Example
What happens when you type:
https://example.com
Very roughly:
1. Browser
↓
2. DNS finds the server
↓
3. Browser connects to the server
↓
4. Browser sends a request
↓
5. Server processes it
↓
6. Server sends a response
↓
7. Browser displays the website
That's networking in action.
13. Wi-Fi vs Ethernet
These are simply different ways of connecting to a network.
Wi-Fi
Laptop ))) Router
Ethernet
Laptop ─── Cable ─── Router
Both can give your device access to the same network.
14. LAN & WAN
LAN
Local Area Network
Your local network.
Home
Office
School
WAN
Wide Area Network
Connects networks over larger distances.
The internet is the biggest example.
LAN
↓
WAN
↓
Internet
15. What If Something Doesn't Connect?
Use this basic mental checklist:
Is my device connected?
↓
Do I have an IP address?
↓
Can I reach the destination?
↓
Does DNS work?
↓
Is the correct port available?
↓
Is the server/application running?
Useful commands:
ping google.com
Test connectivity.
nslookup google.com
Check DNS.
curl https://example.com
Test a web service.
The Big Picture
Keep this picture in your head:
INTERNET
│
Router
│
Your Network
/ | \
Laptop Phone Server
│
Client
│
│ Request
↓
Server
│
│ Response
↓
Client
And when accessing a website:
DOMAIN
↓
DNS
↓
IP ADDRESS
↓
SERVER
↓
PORT
↓
APPLICATION
↓
RESPONSE
↓
CLIENT
The Golden Rule
A client asks. A server provides. Networks connect them.
If you understand:
Client → Network → Internet → DNS → IP → Server → Request → Response
you already have the foundation for understanding most of the networking you'll encounter as a beginner.
