Live lesson · progress saved to your account

Networking Basics

IP addresses, ports and DNS — how computers talk to each other, explained simply.

beginner20 minwalkthrough

Anyone can read this lesson. To submit answers and earn XP, create a free account.

TASK 01IP addresses — a computer's home address

Just like your home has a postal address, every device on a network has an IP address.

An IPv4 address is four numbers separated by dots, such as 192.168.1.10. Each number is between 0 and 255.

Addresses like 192.168.x.x are private — they only work inside your home or office network.

Answer the questions

+10 XP

TASK 02Ports — the doors of a building

If an IP address is a building, ports are its doors. Each service listens on a well-known port:

PortService
22SSH (remote login)
53DNS
80HTTP (websites)
443HTTPS (secure websites)

The first step of most assessments is finding out which ports are open.

Answer the questions

+10 XP

+10 XP

TASK 03DNS — the internet's phone book

You remember example.com, not an IP address. DNS (Domain Name System) turns names into IP addresses — just like the contacts list on your phone.

When you open a website:

  1. Your browser asks a DNS server, "What is the IP of example.com?"
  2. DNS replies with an address such as 93.184.215.14.
  3. Your browser connects to that IP.

Answer the questions

+10 XP