Clients and servers

Knowledge Videos

Short animated explainers, organised by subject.

Clients and servers

The client asks with a request, the server answers with a response. Like a customer and a kitchen, including what a 404 means.

Transcript

When you open a website, your computer, phone or tablet is the client. A client is the one that asks for something.

What it sends is called a request. It means: please send me this page.

The computer that holds the website is the server. A server's job is to serve: it sends something back.

What it sends back is called a response. Here the response is the page itself, so your browser can show it.

It works like a restaurant. The client is the customer, the request is the order, the server is the kitchen, and the response is your meal.

One server can answer many clients at the same time.

If the server can't find what you asked for, it sends back an error. The most famous one is four oh four, not found.

Remember: the client sends a request, and the server sends a response.

More in this series