Software running on a networked device that listens on a port for incoming requests sent via a transport protocol and returns responses containing requested resources.
2
New cards
Localhost (127.0.0.1)
The loopback IP address used to connect to a server running locally on your own computer.
3
New cards
Listening
The idle state of a web server after starting up where it waits for incoming client requests without initiating outgoing connections.
4
New cards
Network Port
A virtual communication endpoint provided by the operating system (out of 65,535 available ports) that allows specific software services to receive network traffic.
5
New cards
Port 80
The default network port that web browsers automatically send unencrypted HTTP requests to.
6
New cards
Port 443
The default network port that web browsers automatically send encrypted HTTPS requests to.
7
New cards
HTTP (Hypertext Transfer Protocol)
The application-layer protocol ("language") web browsers and web servers use to communicate by exchanging text-based requests and responses.
8
New cards
Application Layer Protocol
A high-level protocol (such as HTTP or FTP) that defines the rules and format for software applications to communicate over a network.
9
New cards
FTP (File Transfer Protocol)
An application-layer protocol used to transfer files; sending an HTTP request to an FTP server causes an invalid HTTP response error due to a language mismatch.
10
New cards
Transport Layer Protocol
The underlying communication layer (such as TCP) responsible for carrying application-layer data across a network.
11
New cards
TCP (Transmission Control Protocol)
The transport-layer protocol that breaks data into packets and uses handshakes and confirmations to ensure every packet arrives intact and in the right order.
12
New cards
HTTP Request
A plain-text message sent by a web client to a web server asking for a resource or submitting data, structured into a start line, headers, and an optional body.
13
New cards
Start Line
The first line of an HTTP request containing the HTTP method (such as GET or POST), the request target, and the HTTP version (such as HTTP/1.1).
14
New cards
GET Method
An HTTP request method used to retrieve a specific web page or resource from a server without sending a request body.
15
New cards
POST Method
An HTTP request method typically used for form submissions that sends data (such as an order ID) inside the request body.
16
New cards
Request Target
The specific URL path or resource on the server being requested (for example, /orders/123).
17
New cards
HTTP Headers
Key-value pairs located between the start line and the first blank line that pass metadata about an HTTP request or response.
18
New cards
Host Header
An HTTP request header specifying the IP address (or domain) and port number the request is being sent to.
19
New cards
User-Agent Header
An HTTP request header that identifies the client's browser or device type (such as mobile vs. desktop) to the web server.
20
New cards
Content-Type Header
An HTTP header indicating the media format or encoding of the body data (such as text/html, application/json, or image/jpeg).
21
New cards
Content-Length Header
An HTTP header specifying the byte size of the message body so the recipient knows how much data to expect.
22
New cards
HTTP Body
The third block of an HTTP message after the blank line, holding submitted form data in requests or the requested resource (HTML, JSON, images, video chunks) in responses.
23
New cards
HTTP Response
A plain-text message returned by a web server to a client, consisting of a status line, headers, and a response body.
24
New cards
Status Line
The first line of an HTTP response containing the HTTP version and an HTTP status code indicating whether the request succeeded or failed.
25
New cards
HTTP Status Code 200
The standard HTTP response status code indicating that a request succeeded and the requested resource is being returned.
26
New cards
HTTP Status Code 404
The HTTP response status code indicating "Not Found" when a requested file or database record does not exist on the server.
27
New cards
Routing
The practice of connecting an incoming HTTP request with the appropriate resource or backend handler.
28
New cards
Static Routing
Serving pre-existing files (such as index.html or cat.jpg) directly from a folder on the server's file system without modifying them.
29
New cards
index.html
The default HTML file a static web server returns when a client navigates to the root directory (/).
30
New cards
Dynamic Routing
Routing incoming requests to a backend web application (written in languages like PHP, Python, JavaScript, or Ruby) that queries a database and builds responses on the fly.
31
New cards
Database (SQLite)
A structured data store using tables, rows, and columns that a dynamic web application queries to retrieve or update live information such as order statuses.
32
New cards
Regular Expression (Regex)
A pattern-matching sequence used in backend routing to validate incoming URL paths and extract dynamic parameters like an order ID.