Network+ (N10-009) · ELI Explains Networking Layers (book)

Layer 7 — Application

4 min read
Want it in plain words first? Jump to Eli explains — the same idea, no jargon.
On this page 3 sections
  1. The college version
  2. Eli explains
  3. Study tools

The college version

What This Layer Does

The Application layer is where networking meets the things people actually do: loading a page, sending mail, opening a shared file, connecting to a distant machine.

Start with a correction, because this layer's name misleads almost everyone. The Application layer is not the application. Your browser is a program with menus, tabs, bookmarks, and a rendering engine, and none of that is Layer 7. Layer 7 is the set of networking services and protocols the browser uses when it needs something from the network. The distinction matters: a text editor with no network feature has no Layer 7 involvement at all, and a browser has plenty.

What these services have in common is a request-and-response pattern. A program asks for something in an agreed format. A program somewhere else understands the , does the work, and sends back an answer, or an explanation of why it could not. The rules for what a valid request looks like, what the answers mean, and what to do about errors are the .

A handful of protocols cover most of everyday use:

  • HTTP and HTTPS carry web pages. HTTPS is HTTP with the contents encrypted.
  • DNS translates a name such as example.com into an IP address. Nearly everything you do begins with a DNS lookup, which is why DNS trouble feels like the whole internet has failed.
  • SMTP sends email between mail servers.
  • IMAP lets a mail program read messages that stay stored on a .
  • FTP transfers files. It is old and sends credentials unprotected, so secure alternatives have largely replaced it.
  • SSH provides an encrypted connection to a remote machine's command line.

That list is deliberately short. There are hundreds more, and memorizing them teaches you nothing about how networks work.

Common Examples

  • HTTP and HTTPS, for web browsing
  • DNS, for turning names into IP addresses
  • SMTP and IMAP, for sending and reading email
  • FTP, for file transfer
  • SSH, for secure remote access

Simple Real-World Example

You type example.com into a browser and press Enter.

The browser first needs an IP address, so it makes a DNS request asking what address belongs to that name, and gets one back. It then sends an HTTPS request to that address asking for the page. The web server receives the request, finds the page, and returns it along with a status code saying whether the request succeeded. The browser then asks for the images, stylesheets, and scripts the page refers to, each one its own request and .

Two protocols, several exchanges, and all of it finished before you have finished lifting your finger off the key.

What Can Go Wrong?

  • DNS lookup fails. The name cannot be turned into an address, so nothing connects, even though the network itself is healthy.
  • The service is down. The request arrives correctly and the program on the other side is not running or is overloaded.
  • The request is refused. The server understood the request perfectly and declined it, which is what a "not found" or "forbidden" message means.
  • The two sides support different versions. Both speak the protocol, neither agrees on which variety, and the connection fails for reasons that look mysterious from the outside.

Remember This

Layer 7 provides the network services used by applications.

Eli, the EliExplains learning guide

Eli explains

The same idea, in plain words

Explain it like I’m 10

Think about ordering food at a counter.

You walk up and say what you want. The worker listens, understands your order, goes and gets it, and hands it back. If the kitchen has run out, they tell you so instead of standing there in silence.

Layer 7 is the counter.

It is where a program asks for something and gets an answer. Your browser asks a website for a page. Your mail app asks a mail server for new messages. One side makes a request, the other sends a response.

For this to work, both sides must speak the same way. You cannot order in a language the worker does not know. The agreed way of asking is a protocol. Visiting a website, your browser and the website both use HTTPS, so each understands exactly what the other means.

One thing to be careful about: this layer is not the whole app. Your browser has buttons, tabs, and a back arrow, and none of that is Layer 7. Layer 7 is only the part where the browser talks to the network — the ordering, not the whole restaurant.

Why do we need it? Because the layers below can deliver anything anywhere, and delivery alone does not tell a program what is being asked of it.

Here is a real example. When you load a webpage, your browser uses HTTPS to ask the web server for it, and the server sends it back.

Keep learning

Ready to build on this? Continue to the next lesson.

Practice Network+ (N10-009)

This lesson has no separate scored set. Practice draws from the subject’s question bank.

Study tools & related lessonsKey vocabulary · Related

Key vocabulary

Protocol
the agreed rules two programs follow so they can understand
Request
a message asking for something.
Response
the message sent back, containing the answer or an error.
Client
the program that makes the request.
Server
the program that receives the request and answers it.

Educational content only. It is not medical, legal or professional advice. Found an error? Tell us.